Html 5 S Tag

In the html5 <s> tag is used to identify text and it not a correct text it means tells to related text only. 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.

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.





Content