HTML s tag

HTML s tag is an HTML tag that allows us to write strikethrough text.

However, its usage has been changed with HTML5. It is now used to define incorrect or irrelevant texts. This tag is sometimes confused with del, but there is a difference between them in terms of their usage.

As indicated above, s is used to define incorrect or irrelevant texts whereas del is used to define deleted text.

HTML s tag

<s>Ankara is the capital of Turkey</s>
Ankara is the capital of Turkey
434 Views
49160cookie-checkHTML s tag

Leave a Reply

Your email address will not be published. Required fields are marked *