HTML <strike> (Strikeout Text) Tag

❮ Previous Reference Next ❯

Deprecated: Not Supported in HTML5.

Example

<p>This is <strike>striked</strike> text</p>

Meaning

The <strike> element is used to specifies strikethrough text, namely text with a line drawn through it.

The <s> element provides shorthand notation for this element.

This tag should act the same as the <s> tag.

This element has been deprecated by the W3C. The strict HTML and XHTML specifications include <strike> tag because it is possible to indicate strikethrough text using the style sheet property text-decoration: line-through;.

Note: The HTML5 specification specifies that this element as obsolete.

Version: HTML 3.2, 4, 4.01


Standard Syntax

<strike>...</strike>



Browser Support




Status







Global Attributes

The <strike> element also supports the Global Attributes in HTML.


Event Attributes

The <strike> element also supports the Event Attributes in HTML.




By Default CSS Value(s)

Most of the browsers will display the <strike> element with the following by default value(s)

strike {
  display: inline;
  text-decoration: line-through;
}



❮ Previous Reference Next ❯