CBSE Class 10 Computer Applications Question 43 of 125

HTML II — Images, Links and Tables — Question 34

Back to all questions
34
Question

Question 34

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