Text Decoration Property

decoration

Text Decoration Property. Public property location as textdecorationlocation property value textdecorationlocation. Underline − an underline is drawn beneath the inline text.

Text Decoration Property
Sweet sugar spreading pastry decoration background Stock from colourbox.com

It adds lines under, above, and through the text. Overview table initial value none applies to all elements inherited no media visual computed value as specified animatable no This css property decorates the text with several kinds of lines.

You Can Decorate The Text As Underline, Overline Etc.

In the following code example, a strikethrough text decoration is created with a solid color brush for the pen. This is defined in the css text decoration module: You can also combine more than one value, like underline and overline to display lines both under and over the text.

This Property Is Specified By Using One Or More Keywords According To The Syntax Shown Above.

Basic support— firefox 1+ google chrome 1+ internet explorer 3+ apple safari 1+ opera 3.5+ warning: Omitted values are set to their initial values. This value is deprecated in favor of animations, you should better avoid this value.

The Anchor Tag Is Used To Define The Hyperlinks And It Display Underlined Anchor Part By Default.

It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors. By the end of reading this tutorial, you’ll be an expert at. Specifies the style of the text decoration (solid, dotted, etc.)

Overview Table Initial Value None Applies To All Elements Inherited No Media Visual Computed Value As Specified Animatable No

Styles can be solid, dashed, dotted, double and wavy. It sets the appearance of decorative lines on text. Public property location as textdecorationlocation property value textdecorationlocation.

Flexbox, Grid & Sass) Syntax ¶

This css property decorates the text with several kinds of lines. The textdecoration property sets or returns one ore more decorations for a text. The blink value of this property is only supported by firefox and opera.