Html S Tag

In the html <s> tag is used to identify text and it not a correct text it means tells to related text only. Which tag is supported to all main browsers. In the <s> tag should not delete text or insert text or replaced text. If you need to delete text from html page you use to <del> tag. The <s> tag is describe strikethrough text.

Syntax:

<s>
Text
</s>

Example Code

<html>
<body>

<s>My pen color is red.</s>

My pen color is green.

<body>
</html>

Out Put:

My pen color is red.

My pen color is green.

In the above example <s> tag has been added to "My pen color is red" sentence.