HTML5 <s> Tag

Example

A text that used to be correct was replaced by a new, correct, text:

<p><s>I Have done Schooling.</s></p>
<p>Done Higher studies later.</p>
Code it Online »

Definition and Usage

The <s> tag defines text that is no longer correct.

The <s> tag should not be used to define replaced or deleted text, use the <del> tag to define replaced or deleted text.

Differences Between HTML 4.01 and HTML5

The s element is deprecated in HTML 4.01, and used to define strikethrough text.

The s element is redefined in HTML5, and is used define text that is no longer correct.

Standard Attributes

The <s> tag also supports the Standard Attributes in HTML5.

Event Attributes

The <s> tag also supports the Event Attributes in HTML5.


Have Any Suggestion? We Are Waiting To Hear from YOU!

Your Query was successfully sent!