Javatpoint Logo
Javatpoint Logo

HTML <s> tag

HTML <s> tag is used to represent the range of content which is no longer accurate or relevant in some way. The text written between <s> (start) and </s> (end) tag, renders as a strike a line through the text.

Note: Do not confuse with <del> and <s> as <del> is used for the text which is deleted or removed from document and <s> represent the text which is no longer accurate.

Syntax

Following are some specifications about the HTML <s> tag

Display Inline
Start tag/End tag Both Start and End tag
Usage Formatting

Example

Test it Now

Output:

HTML s tag

Attribute:

Tag-specific attributes:

The <s> tag does not contain any specific attribute.

Global attribute:

The <s> tag supports the global attributes in HTML

Event attribute:

The <s> tag supports the event attributes in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<s>YesYesYesYesYes
Next TopicHTML samp Tag




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA