<strike> HTML strikethrough element

Deprecated

Avoid using this feature in new projects. This feature may be a candidate for removal from web standards or browsers.

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

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

Result

Technical summary

DOM interface HTMLElement

Specifications

Specification
HTML
# strike

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.