Home »
MCQs »
HTML MCQs
Which is the correct syntax of <a> tag?
42. Which is the correct syntax of <a> tag?
- <a src="url">link text</a>
- <a link="url">link text</a>
- <a href="url">link text</a>
- <a srclink="url">link text</a>
Answer: C) <a href="url">link text</a>
Explanation:
The correct syntax to create a hyperlink is,
<abbr title="abbreviation or acronym">Text</abbr>