DIFFERENT WAY TO DESIGN A LINKS WITH THE HELP OF CSS IN HTML?

Abhishek Srivasatava

Total Post:70

Points:350
Posted by  Abhishek Srivasatava
CSS 
 294  View(s)
Ratings:
Rate this:
  1. Abhishek Srivasatava

    Post:70

    Points:350
    Different way to design a Links with the help of CSS in HTML?

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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!