What Is The HTML <strike> Tag?

What Is The HTML Strike Tag

Date First Published: 26th February 2023

Topic: Web Design & Development

Subtopic: Web Development

Article Type: Computer Terms & Definitions

Difficulty: Medium

Difficulty Level: 5/10

Learn more about what the HTML <strike> tag is in this article.

In HTML, the <strike> tag is used to define strikethrough text. This means that any text within the <strike> and </strike> will be striked through with a horizontal line. There are no specific attributes for this tag.

The <strike> tag is now deprecated. Even though it is still supported in most web browsers, it is no longer a part of the HTML5 specification and it is not recommended to use it. This means that it is outdated and may not continue to be supported in web browsers. Instead, <del>, tag <s> tag, or CSS should be used to define strikethrough text.

Example Of The <strike> Tag

An example of the <strike> tag with the output can be seen below:

<p>This is normal text</p> <strike>This is strikethrough text</strike>

Output:

This is normal text

This is strikethrough text


Feedback

  • Is there anything that you disagree with on this page?
  • Are there any spelling, grammatical, or punctuation errors on this page?
  • Are there any broken links or design errors on this page?

If so, it is important that you tell me as soon as possible on this page.



Comments


What Is Computerhelp4all?

  • Computerhelp4all is a site with articles for everyone about the topic of computing, as suggested in the name '4all'.


Follow Computerhelp4all

Search