<s> tag in HTML
The <s> tag defines the text that no longer correct or no longer relevant or no longer accurate.
Important Description
- The <s> tag should not be used to define replaced or deleted text.
- The <s> element make the text with a strikethrough text.
- Open and close tag required of <s>.
Example of <s> tag
Result Look Like
My Favorite Country France
Now, My Favorite Country America.
<s> Tag Browser Support
Element |
Chrome |
Edge |
Firefox |
Safari |
Opera |
<s> |
Yes |
Yes |
Yes |
Yes |
Yes |
Global Attributes
Event Attributes