HTML <s> (Strikethrough) Tag

❮ Previous Reference Next ❯

Example

<p>This text is <s>striked</s>.</p>

Meaning

The <s> element renders the enclosed text with a line drawn through it and is a synonym for the strike element.

This element should act the same as the strike element.

It is possible to indicate strikethrough text using a style sheet with the text-decoration property set to line-through.

Note: The <s> tag was deprecated in HTML 4, but it has been redefined in HTML5. However, use the <del> element instead if enclosed text represents deleted text.

Version: HTML 4, 4.01, 5


Standard Syntax

<s>...<s>



Browser Support




Status







Global Attributes

<s> element also supports the Global Attributes in HTML.


Event Attributes

<s> element also supports the Event Attributes in HTML.




By Default CSS Value(s)

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

s { 
  text-decoration: line-through;
}



❮ Previous Reference Next ❯