text-decoration-line-through
Overview table
- Applies to
- All elements
- Inherited
- No
- Media
- visual
- Animatable
- No
Syntax
text-decoration-line-through: VARIANT_FALSE
text-decoration-line-through: VARIANT_TRUE
Values
- VARIANT_TRUE
- Apply the line-through.
- VARIANT_FALSE
- Prevent the line-through.
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>
Syntax
textDecorationLineThrough: VARIANT_TRUE | VARIANT_FALSE
Requirements
{
See also
Related pages
- defaultSelecteddefaultSelected
- runtimeStyleruntimeStyle
- stylestyle
- textDecorationtextDecoration
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]