MDN self-hosted library · e01.org

`<strike>` HTML strikethrough element

The <strike> HTML element places a strikethrough (horizontal line) over text.

The <strike> HTML element places a strikethrough (horizontal line) over text.

[!WARNING] This element is deprecated in HTML 4 and XHTML 1, and obsoleted in the HTML Living Standard. If semantically appropriate, i.e., if it represents deleted content, use del instead. In all other cases use s.

Attributes

This element includes the global attributes.

Examples

&lt;strike&gt;: <strike>Today's Special: Salmon</strike> SOLD OUT<br />
&lt;s&gt;: <s>Today's Special: Salmon</s> SOLD OUT

Result

examples

Technical summary

DOM interface HTMLElement

Specifications

Browser compatibility

See also

  • The s element.
  • The del element should be used if the data has been deleted.
  • The CSS text-decoration property can be used to style text with a strikethrough.