Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

HTML <strike> Tag

  • Difficulty Level : Basic
  • Last Updated : 21 Sep, 2021

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

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

HTML




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

Output:

It defines a strike or line through Text. This tag is depreciated from HTML 5. This tag creates a cut line in the text. Now <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.

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 used here -->
  <strike>GeeksforGeeks</strike>
</body>
  
</html>

Output: 
 

Supported Browsers:

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



My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!