What is the correct HTML for creating a hyperlink?
Reveal answer
Fill a bubble to check yourself
C
Correct answer
Explanation
AI explanation
The correct HTML syntax for a hyperlink uses the <a> tag with an href attribute pointing to the URL, and the visible link text goes between the opening and closing tags: </a><a href="http://www.tcs.com">TCS</a>. Attributes like url or name aren't valid ways to specify the link destination in standard HTML anchor tags.