w:strike (Single Strikethrough)

Applies a single horizontal strikethrough line through the text of the run.

Parent elements

Description

w:strike draws a single horizontal line through the centre of the run’s text glyphs. It is an on/off toggle property defined in ECMA-376 Part 1 §17.3.2.37.

Strikethrough is commonly used to indicate deleted or superseded content in a non-tracked-changes context. For revision tracking, use w:del instead. The double-line variant is w:dStrike.

Attributes

Attribute Type Possible Values Description
w:val ST_OnOff true, 1, on (enabled) / false, 0, off (disabled). Omitting the attribute is equivalent to true. Toggles single strikethrough on or off.

Examples

<w:r>
  <w:rPr>
    <w:strike/>
  </w:rPr>
  <w:t>Deleted price</w:t>
</w:r>

Notes

  • For tracked-changes deletion, use w:del instead of w:strike.
  • w:dStrike (double strikethrough) and w:strike can coexist; both lines are rendered.