There are four state of the link. Link: It is state of a link, when user never opens that link. Visited: It is state of a link one user already visited to the link. Hover: It is state of a link when user put the cursor on the link. Active: It is a state of a link user already opened that link in the same browser.
a.link{ background-color:Blue; color:white; padding:20px 20px; text-align:Right; text-decoration:underline; display:inline-block; /*it is used to look link into the square box*/ }
Similarly, we can define for other status of the link.
‘a’ is the keyword for the link.
How to define the link in HTML
<a href =”www.MindStick.com”> MindStick </a>.
Liked By
Write Answer
Different way to design a Links with the help of CSS in HTML?
Join MindStick Community
You have need login or register for voting of answers or question.
Abhishek Srivasatava
13-Oct-2016There are four state of the link.
Link: It is state of a link, when user never opens that link.
Visited: It is state of a link one user already visited to the link.
Hover: It is state of a link when user put the cursor on the link.
Active: It is a state of a link user already opened that link in the same browser.
‘a’ is the keyword for the link.
<a href =”www.MindStick.com”> MindStick </a>.