HTML s tag

HTML s tag displays text with a line through it. This tag is used to denote text that is no longer relevant. It should not be used to display deleted text.

HTML s tag

The HTML s tag displays text with a line through it. This tag is used to denote text that is no longer accurate or relevant. It should not be used to represent deleted text. To represent deleted text, use <del> tag.

Example

<p>This text is <s>no longer</s> relevant.</p>

Output

This text is no longer relevant.


Share Tweet Send
Loading...
You've successfully subscribed to Geekinsta
Great! Next, complete checkout for full access to Geekinsta
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.