How do I get rid of text underline in CSS?

How do I get rid of text underline in CSS?
Answer
Just as you can add and style an underline using the CSS text-decoration property you can remove one as well. This can be handy when you need to remove an underline from an anchor. Set the text-decoration value to none and all formatting is removed. The A or anchor tag underlines text by default.
 

Tìm kiếm

Back
Top