Home > Article > Web Front-end > How to remove underline from text in html
htmlHow to remove text underlines: First create an HTML sample file; then define some text content; finally set the value of css text-decoration to "none" to remove text underlines.
The operating environment of this tutorial: Windows7 system, HTML5&&CSS3 version, Dell G3 computer.
How to remove underline from text in html?
Removing underline from text is very simple.
To remove the underline style of a hyperlink, we set the value of css text-decoration to "none".
Remove the A link underline style code as follows:
a{text-decoration:none}
Recommended: "HTML Video Tutorial"
The above is the detailed content of How to remove underline from text in html. For more information, please follow other related articles on the PHP Chinese website!