HTML Tags

HTML <strike> Tag

The <strike> tag was historically used to display text with a strikethrough (line through the text).
It is deprecated in HTML5.
The modern standard uses the <del> or <s> tags or CSS text-decoration: line-through; to achieve the same effect.

Syntax

<strike>Text to be struck through</strike>

Attributes

AttributeDescription
NoneThe <strike> tag does not have any specific attributes.

Example

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Strike Tag Example</title>
</head>
<body>

<h2>Deprecated &lt;strike&gt; Tag Example</h2>

<p>Original Price: <strike>₹500</strike></p>

<p>Modern alternative: use <code>&lt;del&gt;</code> or CSS <code>text-decoration: line-through;</code>.</p>

</body>
</html>

Output

Browser Output

The text inside the <strike> tag is displayed with a line through it (strikethrough).
Please use our TryIt Editor to see the effect.

Browser Support

Chrome
Chrome
Firefox
Firefox
Edge
Edge
Safari
Safari
Opera
Opera
IE
IE9+
✅Yes✅Yes✅Yes✅Yes✅Yes✅Yes

Notes

  • The <strike> tag is obsolete in HTML5.
  • <del> or <s> should be used for semantic correctness (e.g., <del> indicates deleted content).
  • CSS text-decoration: line-through; provides more flexible styling for strikethrough effects.

Conclusion

The <strike> tag was used to create strikethrough text but is deprecated.
Modern HTML development should rely on semantic tags (<del> / <s>) or CSS for strikethrough styling.

Sign In Form

User your email and password to singn in

Don’t have an account, signup here : 

HTML5 & CSS3

Tools and Tutorials

Want a Website

Want a website for your business ?

Please fill out the details below, so we can reach out to you.

Registration Form

Signup to track your record and much more.

We have sent you an email with a registration link. Please click the link to verify your email address, or enter the 6-digit OTP provided in the email.

Didn't receive the OTP. Regenerate OTP Resend