DITA Resource Center

<line-through>

The <line-through> element indicates text that is rendered with a line struck through the content. This element is designed to enable authors to indicate a deletion or revision for rhetorical purpose; it is not intended to be used for indicating revisions. This element is part of the highlighting domain. Use this element only when a more semantically appropriate element is not available.

note

Style sheets can be used to format the <line-through> element differently, just like any other element can be restyled. Thus, it is not the case that content in <line-through> elements will necessarily be rendered with a line struck through.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

+ topic/ph hi-d/line-through

Example

<p>Line-through: DITA technology can be
      <line-through>maddening</line-through>a challenge to implement.</p>

Attributes

The following attributes are available on this element: Universal attribute group and @outputclass.

Was this page helpful?