Multiple choice technology web 2.0

What is the correct HTML for creating a hyperlink?

  1. <a url="http://www.webdesignerhelp&quot;&gt;Web Designer Help</a>

  2. <link="http://www.webdesignerhelp&quot;/&gt;Web Designer Help</a>

  3. <a link="http://www.webdesignerhelp&quot;&gt;Web Designer Help</a>

  4. <a href="http://www.webdesignerhelp&quot;&gt;Web Designer Help</a>

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

HTML hyperlinks use the tag with an 'href' attribute: link text. 'url' and 'link' are not valid attributes, and option B has malformed syntax with both 'link=' and ''.

AI explanation

The correct HTML anchor syntax uses the href attribute to specify the link target: <a href="url">text</a>. href stands for 'hypertext reference' and is the only attribute HTML recognizes for this purpose on the <a> tag. The other options use invalid or nonexistent attributes — url=, a malformed tag (the element is for document metadata, not inline hyperlinks, and doesn't take content), and link= are not real HTML attributes, so none of them would render a functioning hyperlink.