Loading...
HTML <s> Tag

HTML <s> Tag

In this tutorial, we will learn about s tag in HTML with the help of examples.


<s> Tag

Strike tag <s> is used to specify text that is not correct, accurate or relevant and displayed with a line through it.

Note : We can also use <del> tag in place of <s> tag.

Syntax

<s>.........</s>

Example

<!DOCTYPE html>
<html>
  <head>
    <title>S Tag</title>
  </head>
  <body>
    <p>You are <s>not</s> a good person.</p>
  </body>
</html>

Output

You are not a good person.


Global Attribute

S Tag support all the global attributes of HTML.


Event Attribute

S Tag support all the event attributes of HTML.


Next Tutorial

We hope that this tutorial helped you develop better understanding of the concept of <s> tag in HTML.

Keep Learning : )

In the next tutorial, you'll learn about HTML <samp> Tag.

- Related Topics