Name
textDecoration, textDecorationBlink, textDecorationLineThrough, textDecorationNone, textDecorationOverline, textDecorationUnderline — NN n/a IE 4 DOM n/a
Synopsis
Read/Write
Whether the specified text decoration feature is enabled for the
element. Internet Explorer does not blink text, so the
textDecorationBlink
property is ignored. Setting
textDecorationNone
to true
sets
all other related properties to false
. Setting
these properties on the Macintosh version of IE 4 does not alter the
content. Use the textDecoration
property instead.
Example
document.all.emphasis.style.textDecorationLineThrough = "true"
Value
Boolean value: true
| false
.
Default
false
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.