Chapter 310mChallenge
HTML Elements Explained with Examples — Challenge
Learn HTML Elements with simple Code Examples. Understand Start Tags, End Tags, Nested Elements, Void Elements, and correct HTML Structure.
This content is not yet available in or. Showing English version.
View in English →Create a hyperlink element
easyWrite an HTML <a> element that displays the text "Visit Google" and links to "https://www.google.com" using the href attribute.
Test cases (1)
1 · basic
expected: <a href="https://www.google.com">Visit Google</a>
Hint
Use the <a> element to create a hyperlink. Set the href attribute to the destination URL and place the clickable text between the opening and closing tags.
html
Loading editor...