textDecorationLineThrough property (Internet Explorer)

Switch View :
ScriptFree
textDecorationLineThrough property

[This documentation is preliminary and is subject to change.]

Sets or retrieves a Boolean value indicating whether the text in the object has a line drawn through it.

Syntax

textDecorationLineThrough: VARIANT_TRUE | VARIANT_FALSE

Property values

VARIANT_TRUE

Apply the line-through.

VARIANT_FALSE

Prevent the line-through.

CSS information

Applies ToAll elements
Mediavisual
Inheritedno
Initial Value

Examples

This example uses the textDecorationLineThrough property to draw a line through the text when the user clicks it with the mouse.


<P onclick="this.style.textDecorationLineThrough=true;">
Click this if you think it's unimportant.
</P>

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

DLL

Mshtml.dll

See also

defaults
runtimeStyle
style
textDecoration

 

 

Build date: 3/14/2012