<a> element styling

We use anchor element most of types in document to jump from one document to another. Its good practice to represent link in attentive style

Simple Table

To remove underline from link, text-decoration: none is used in css styling.

        #myBtn {
            background-color: #0688ef;
            color: #fff;
            padding: 10px 30px;
            text-decoration: none;
            border-radius: 5px;
        }

        <a href="https://www.google.com" id="myBtn" >Click Here</a>

Click Here



link as anchor tag

To go specific location in same document, id attribute of that element is used in href with #.

        <a href="#top" >Go to Top</a>

Go to Top