KnowledgeBoat Logo

Computer Applications

What is the correct syntax in HTML for creating a link on a webpage ?

  1. <LINK SRC = "abc.html">
  2. <BODY LINK = "abc.html">
  3. <A SRC = "abc.html">
  4. <A HREF = "abc.html">

HTML Advanced Features

3 Likes

Answer

<A HREF = "abc.html">

Reason — In HTML, the <a> tag is used to create a hyperlink, or link, on a webpage. The href attribute is used within the <a> tag to specify the destination of the link.

Answered By

1 Like


Related Questions