HTML <s> tag

HTML <s> tag : Definition


• The HTML <s> element is an inline element with strikethrough, or a line through it on a section/word of text.

• The <s> element defines text which are no longer exist, correct, accurate or relevant. The text/word will be displayed with a line through it



Html <s> tag example 1:

<!DOCTYPE html>
<html>
<head>
<title>s Tag example</title>
</head>
<body>




 <p>This is a paragraph with no strike <s> element.</p>
 <p><s>This is a paragraph with strike <s> element.</s></p>
</body>
</html>

Output :


 

This is a paragraph with no strike <s> element.

This is a paragraph with strike <s> element.