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 hyperlink

easy

Write an HTML <a> element that links to "https://example.com" and displays the text "Visit Website".

Test cases (1)
1 · basic
expected: <a href="https://example.com">Visit Website</a>
Hint
The <a> element creates a hyperlink. Set its href attribute to the destination URL and place the link text between the opening and closing tags.
html
Loading editor...