Open In App
Related Articles

HTML <strike> Tag

Improve Article
Improve
Save Article
Save
Like Article
Like

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

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 17 Mar, 2022
Like Article
Save Article
Previous
Next
Similar Reads
Complete Tutorials