<strike> HTML Tag

In this article we will discuss about how to use the strike tag in HTML.
  • 1507

The strike tag is denoted by <strike> tag. It is used  for rendering a strike through the middle of the text.

HTML Code:

<html>

<head>

    <title></title>

</head>

<body>

    <font style="background-color: yellow"><strike>Among the many misdeeds of the British

        rule in India,<br>

        history will look upon the act of depriving a whole nation of arms as the blackest.</strike></font><br>

    Always aim at complete harmony of thought and word and deed. Always aim at purifying

    your thoughts and everything will be well. Mahatma Gandhi

</body>

</html>

 

Output:

Among the many misdeeds of the British rule in India,
history will look upon the act of depriving a whole nation of arms as the blackest.

Always aim at complete harmony of thought and word and deed. Always aim at purifying your thoughts and everything will be well. Mahatma Gandhi

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2019 DotNetHeaven. All rights reserved.