Home > Article > Web Front-end > How to remove the underline of a in css
How to remove the underline of a in css: first create an HTML sample file; then create a hyperlink of a; finally remove the underline of a by adding the "text-decoration: none;" attribute to the style .
The operating environment of this article: Windows7 system, HTML5&&CSS3 version, DELL G3 computer
css remove the underline of a
It’s very simple, the method is as follows:
CSS clears the default underline of a tag
<style type="text/css"> a { text-decoration: none; } </style>
Recommended learning: "css video tutorial"
The above is the detailed content of How to remove the underline of a in css. For more information, please follow other related articles on the PHP Chinese website!