HTML <strike> tag

Updated: 11/13/2018 by Computer Hope
HTML strike tag

When writing in HTML, the <strike> tag was an inline element used to draw a strikethrough on a section of text. However, this tag is obsolete, and you should use either the <s> or <del> tag in its place. The following sections contain information about the <strike> tag, including an example of it in use, as well as related attributes and browser compatibility.


You may also use CSS to create a strikethrough using the attributed/value pair "text-decoration:line-through;" with <style>.

Example of <strike> code

<p>There is regular text, and there is <strike>strikethrough text

Example result

There is regular text, and there is strikethrough text.


Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. While the <strike> tag does not have any unique attributes, it will utilize all of the standard attributes until it is removed in a future version of HTML.


Edge Internet Explorer Firefox Safari Opera Chrome
All versions * All versions * All versions * All version * All versions * All versions *

*Until it is removed in a future version of HTML

Browser, Compatibility, Deprecated, Obsolete, Web design terms