<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.
Content model
(Text |
<cite>
|
<include>
|
<keyword>
|
<ph>
|
<strong>
|
<em>
|
<b>
|
<i>
|
<line-through>
|
<overline>
|
<sup>
|
<sub>
|
<tt>
|
<u>
|
<q>
|
<term>
|
<text>
|
<tm>
|
<xref>
|
<data>
|
<sort-as>
|
<draft-comment>
|
<foreign>
|
<required-cleanup>
)*
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@keyref
- Specifies a key name that acts as a redirectable reference based on a key definition within a map. See The keyref attribute for information on using this attribute.
Example
This section is non-normative.
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>