In CSS, Links are used to set different properties for hyperlinks.
Different types of link selectors are,
a: link - Specifies the style for normal unvisited links.
a: visited - Signification for visited links.
a: hover - A link is hovered when the mouse pointer moves over it.
a: active - The specific style for active links can be applied when a link becomes active once you click on it.
The set of rules have to follow in CSS links such as styles and link states.
a: hover MUST come after a: link and a: visited
a: active MUST come after a: hover
The styles which can be used are shown below:
Wikitechy is an enhanced tutorials zone providing the best learning curve. Sample code is provided for each and every topic to improve the user's knowledge skills. Tutorials and examples are always reviewed to avoid errors.