Answers for "<a> tag css"

CSS
14

css how to style a

/*a normal, unvisited link*/
a:link{
	color: green;
}
/*a link the user has visited*/
a:visited{
	color: purple;
}
/*a link when the user mouses over it*/
a:hover{
	color: yellow;
}
/*a link the moment it is clicked*/
a:active{
	color: brown;
}
Posted by: Guest on May-14-2020
1

html anchor tag

The <a> tag defines a hyperlink, which is used to link from one page to another.

The most important attribute of the <a> element is the href attribute, which indicates the link's destination.

By default, links will appear as follows in all browsers:

1. An unvisited link is underlined and blue
2. A visited link is underlined and purple
3. An active link is underlined and red
  
Creating a link to programmingquest.com:
  <a href="https://www.programmingquest.com">Visit ProgrammingQuest</a>
Posted by: Guest on April-21-2020

Browse Popular Code Answers by Language