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