Home | Top | Website design | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.


textDecorationLineThrough Property

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

Syntax

HTML Scripting
N/A
object.style.textDecorationLineThrough [ = bLineThrough ]

Possible Values

bLineThrough Boolean that specifies or receives one of the following values.
true Apply the line-through.
false Prevent the line-through.

The property is read/write. The property has no default value. The Cascading Style Sheets (CSS) attribute is not inherited.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties .

Example

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>

Standards Information

There is no public standard that applies to this property.

Applies To

Platform Version
Win16: 3.02
Win32: 3.02
Windows CE: 4.0
Unix: 4.0
Mac: 3.02
 
A , ADDRESS , B , BIG , BLOCKQUOTE , BODY , BUTTON , CAPTION , CENTER , CITE , CODE , COL , COLGROUP , CUSTOM , DD , defaults , DFN , DIR , DIV , DL , DT , EM , FIELDSET , FORM , hn , HTML , I , INPUT type=button , INPUT type=checkbox , INPUT type=file , INPUT type=image , INPUT type=password , INPUT type=radio , INPUT type=reset , INPUT type=submit , INPUT type=text , ISINDEX , KBD , LABEL , LEGEND , LI , LISTING , MARQUEE , MENU , OL , P , PLAINTEXT , PRE , runtimeStyle , S , SAMP , SELECT , SMALL , SPAN , STRIKE , STRONG , style , SUB , SUP , TABLE , TBODY , TD , TEXTAREA , TFOOT , TH , THEAD , TR , TT , U , UL , VAR , XMP
Home | Top | Website design | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.