HTML Tag Reference - HTML tag <s>








The <s> tag marks an incorrect, inaccurate or irrelevant text.

Browser compatibility

<s> Yes Yes Yes Yes Yes

What's new in HTML5

None.

Global Attributes

The <s> tag supports the Global Attributes in HTML.

Event Attributes

The <s> tag supports the Event Attributes in HTML.

Default CSS Settings

s { 
    text-decoration: line-through;
}




Example

<!DOCTYPE html>
<html>
<body>

<p><s>wrong.</s></p>
<p>right.</p>

</body>
</html>

Click to view the demo