<line-through>
A strikethrough is a typographical presentation of words with a horizontal line through their center. It can indicate that words are a mistake and not intended for inclusion, or it can be used deliberately to imply a change of thought.
Usage information
The <line-through>
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.
Rendering expectations
The content of the <line-through>
element
is rendered with a line struck through.. It is
represented by the line-through value for the CSS text-decoration
property.
Specialization hierarchy
The <line-through>
element is specialized from
<ph>
. It is defined in the highlighting-domain module.
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
Example
The following code sample shows a
<line-through>
element used to indicate a
rhetorical revision:
<p>After writing up an angry post for social media, the author
<line-through>wisely reconsidered</line-through> decided to wait a day before sharing.</p>