How to implement title attribute to hyperlink html code correctly?

1 Answer

answered Sep 7 by Michael (1,309 points)


Hyperlink in HTML -  <a href="URL">Text</a>

Example:

<a href="http://www.sparsen.com">Knowledgeable Question and Answers</a>


Opening in a New tab: - <a href="URL" target="_blank">Text</a>

Example:

<a href="http://www.sparsen.com" target="_blank">Knowledgeable Question and Answers</a>


Adding ALT tag to the Link - <a href="URL" alt="ALT text">Text</a>


Example:

<a href="http://www.sparsen.com" alt="Knowledgeable Question and Answers">Visit Sparsen.com</a>

Welcome to SPARSEN.COM, where you can ask questions and receive answers from other members of the community.
...