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.

Create a hyperlink element

easy

Write 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...