Skip to content
Related Articles
Open in App
Not now

Related Articles

HTML <strike> Tag

Improve Article
Save Article
Like Article
  • Difficulty Level : Basic
  • Last Updated : 17 Mar, 2022
Improve Article
Save Article
Like Article

In this article, we will know the HTML <strike> tag, along with understanding its implementation through the example. The <strike> tag defines a strike or line through Text.  This tag creates a cut line in the text. This tag is depreciated from HTML 5. Now, the <del> tag is used instead of this tag.

Syntax:

<strike> Contents </strike>

Note: This tag is not supported in HTML5, instead of this tag, we can use HTML del Tag or HTML ins Tag or use CSS text-decoration property.

Example: In this example, we simply use strike tag on text Hi Geeks!

HTML




<!DOCTYPE html>
<html>
 
<body>
   
  <!-- Strike Tag -->
  <h2>Welcome To GeeksforGeeks</h2>
  <strike>Hi Geeks!</strike>
</body>
 
</html>


Output:

HTML <strike> tag

Example: Below example illustrates the <strike> tag in HTML.

HTML




<!DOCTYPE html>
<html>
 
<body>
  <h1>Welcome to GeeksforGeeks</h1>
  <h2>strike Tag</h2>
   
  <!-- Html strike tag -->
  <strike>GeeksforGeeks</strike>
</body>
 
</html>


Output:

HTML <strike> Tag

Supported Browsers:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera
  • Safari
  • Microsoft Edge 12 and above

My Personal Notes arrow_drop_up
Like Article
Save Article
Related Articles

Start Your Coding Journey Now!