Text-Decoration Attribute

HTML (DHTML)

Text-Decoration Attribute

Internet Development Index

Defines the style of text decoration. Read/write String.

Applies To

TextPath

Tag Syntax

<v: element style="text-decoration:expression">

Script Syntax

element.style.textdecoration="expression"

expression=element.style.textdecoration

Remarks

Values include:

  • none (default)
  • underline
  • overline
  • line-through
  • blink

VML Standard Attribute

Example

The text will be underlined.

   <v:line from="50 100" to="400 100">
   <v:fill on="True" color="red"/>
   <v:path textpathok="True"/>
   <v:textpath on="True" string="VML Text"
   style="text-decoration:underline;font:normal normal normal 36pt Arial"/>
   </v:line>