Search results
Text Decoration. In this chapter you will learn about the following properties: text-decoration-line. text-decoration-color. text-decoration-style. text-decoration-thickness. Add a Decoration Line to Text. The text-decoration-line property is used to add a decoration line to text.
Apr 20, 2023 · The text-decoration shorthand CSS property sets the appearance of decorative lines on text. It is a shorthand for text-decoration-line, text-decoration-color, text-decoration-style, and the newer text-decoration-thickness property.
- no
Learn how to use the text-decoration property to add different kinds of decoration to text, such as underline, overline, line-through, or wavy. See examples, syntax, browser support, and more.
- none currentColor solid auto
- CSS1, renewed in CSS3
- no
Jun 18, 2024 · In CSS, the text-decoration property is used to control the decoration of text, such as underlines, overlines, line-throughs, and blink effects. This property accepts values like none, underline, overline, line-through, and inherit to style text decorations accordingly.
Sep 6, 2011 · The text-decoration property adds an underline, overline, line-through, or a combination of lines to selected text. h3 { text-decoration: underline; } Values. none: no line is drawn, and any existing decoration is removed. underline: draws a 1px line across the text at its baseline.
Learn how to use CSS text-decoration property to apply different types of lines to text, such as underline, overline, line-through, and more. See the syntax, values, and shorthand property of text-decoration with examples.
People also ask
What is text-decoration property in CSS?
What is CSS text-decoration?
What is text-decoration shorthand CSS?
What is text-decoration in JavaScript?
text formatting. This text is styled with some of the text formatting properties. The heading uses the text-align, text-transform, and color properties. The paragraph is indented, aligned, and the space between characters is specified.