HTML <strike> Tag

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 1: In this example, we simply use a strike tag on the text Hi Beginner!

HTML




<!DOCTYPE html>
<html>
 
<body>
    <!-- Strike Tag -->
    <h2>
        Welcome To w3wiki
    </h2>
    <strike>
        Hi Beginner!
    </strike>
</body>
 
</html>


Output:

HTML tag

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

HTML




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


Output:

HTML Tag

Supported Browsers:

  • Google Chrome 1
  • Edge 12
  • Firefox 1
  • Opera 15
  • Safari 4


Contact Us