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 si. Showing English version.

View in English →

Create a hyperlink element

easy

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

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 its href attribute to the destination URL and place the link text between the tags.
html
Loading editor...