HTML | <strike> Tag

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>

Below example illustrates the <strike> tag in HTML:



Example:

filter_none

edit
close

play_arrow

link
brightness_4
code

<!DOCTYPE html>
<html>
    <head>
        <title>strike tag</title>
        <style>
            h1, h2 {
                color:green;
            }
            body {
                text-align:center;
            }
        </style>
    </head>
    <body>
        <h1>GeeksForGeeks</h1>
        <h2><<B>strike Tag</b>></h2>
        <p><strike>GEEKSFORGEEKS</strike></p>
        <strike>GFG</strike>
    </body>
</html>                    

chevron_right


Output:

Supported Browsers: The browser supported by <strike> tag are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera
  • Safari


My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.