This tag is used to add hyperlinks to your web page.The link tag <a> is used both for linking to external web pages and for linking to individual HTML documents on the same website. This link requires one attribute:
* href - Tells where the browser should navigate to.
Using a link to refer to an outside source for more information
<html>
<body>
<h2>Katherine Johnson</h2>
<p>
Katherine Johnson was an American mathematician whose calculations as a NASA employee were critical to the success of the first U.S. missions to space.
</p>
<a href="https://www.nasa.gov/content/katherine-johnson-biography">Click Here to learn more about Katherine Johnson</a>
</body>
</html>
Using <a> for linking to an external web page.
<a href="https://code.org/">Visit Code.org!</a>
Using <a> for linking individual HTML documents on the same website
<a href="books.html">Books</a>
<a></a>
For more information, see http://www.w3schools.com/tags/tag_a.asp
Found a bug in the documentation? Let us know at documentation@code.org