Multiple Choice Question (MCQ)
Question: What is the correct syntax for making a hyperlink?
A.
<http: // nimi.gov.in?</a>
B.
<url = "http: // nimi.gov.in">nimi
C.
<a href = "http:// nimi.gov.in">nimi</a>
D.
<a ref = "http:// nimi.gov.in">nimi</a>
Correct Answer: <a href = "http:// nimi.gov.in">nimi</a>
Explanation
In HTML, the correct syntax for creating a hyperlink (also known as a "link" or "anchor") is the <a> (anchor) tag, used in combination with the href attribute.
The basic syntax for creating a hyperlink is as follows:
<a href="url">link text</a>
The <a> tag is used to create the hyperlink
The href attribute is used to specify the destination URL (Uniform Resource Locator) of the link, it can be either a relative path or an absolute path.
The text between the opening <a> tag and the closing </a> tag is the text that will be displayed as the link.
<a href="https://www.ThinkITI.com">Visit Think ITI Website</a>