HTML a Tag

This is a page describing the  HTML tag.

The  HTML tag is used for displaying hyperlinks on a webpage. If you didn't know, a hyperlink is just a link, but that's what its called in HTML. Suprisingly, the  tag is not used for actual links on the page.

Usage
The  tag can be used inside the  tag. By default, without CSS, a hyperlink is blue when unvisited, red when being clicked, and purple when visited. To change that, you can use these CSS rules a:link for unvisited, a:visited and a:active for a link being actively clicked. You will need a  attribute to tell the webpage where the link is going to.

This will generate a blue link on a webpage. (No CSS) If you click, it will bring you to the homepage of this wiki. But it will take you on the same tab. What if you didn't want to go onto it on the same tab, you wanted it to open a new tab? Well then, thats where the  attribute comes in. The  attribute was invented because of that.

So that is how to open a new tab.

Attributes
Here is a list of attributes that the  tag can take. Italics are placeholders. These may not be all of the attributes, there are a list here. This information was obtained at https://www.w3schools.com/tags/tag_a.asp.

Default CSS Styles
Here are the default CSS styles: