textDecorationUnderline property
[This documentation is preliminary and is subject to change.]
Sets or retrieves whether the text in the object is underlined.
Syntax
textDecorationUnderline: VARIANT_TRUE | VARIANT_FALSE
Property values
VARIANT_TRUE-
Apply the underline.
VARIANT_FALSE-
Prevent the underline.
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value |
Examples
This example uses the textDecorationUnderline property to underline the text when the user clicks the text with the mouse.
<P onclick="this.style.textDecorationUnderline=true;"> Click this if you think it's important. </P>
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
DLL |
|
See also
Build date: 3/14/2012