Chapter 010mChallenge
HTML Introduction — Challenge
ਜਾਣੋ ਕਿ HTML ਕੀ ਹੈ, HTML Elements ਕਿਵੇਂ ਕੰਮ ਕਰਦੇ ਹਨ ਅਤੇ ਸਧਾਰਨ ਉਦਾਹਰਨਾਂ ਤੇ ਅਭਿਆਸਾਂ ਦੀ ਮਦਦ ਨਾਲ ਆਪਣਾ ਪਹਿਲਾ HTML Document ਕਿਵੇਂ ਬਣਾਇਆ ਜਾਂਦਾ ਹੈ।
This content is not yet available in pa. Showing English version.
View in English →Create a link to another website
easyWrite an HTML <a> element that links to "https://www.example.com" and displays the text "Open Example".
Test cases (1)
1 · hyperlink
expected: <a href="https://www.example.com">Open Example</a>
Hint
The <a> element creates a hyperlink. Its href attribute specifies the destination URL, and the text between the tags becomes the clickable link text.
html
Loading editor...