- Home
- /
- Tutorials
- /
- CSS Tutorial
- /
- CSS Text Decoration
CSS Text & Fonts
CSS Text Decoration
The CSS Text Decoration property is used to add or remove decorative lines from text.
It is commonly used to:
- Underline text
- Add overlines
- Strike through text
- Remove underlines from links
Text decoration helps emphasize content and improve the visual appearance of web pages. The supporting concepts are explained in CSS Pseudo Classes and Accessible CSS.
Syntax
CSS Text Decoration Syntax
css
selector {
text-decoration: value;
}