You are here: >

HTML <strike> tag

HTML strike tagWhen 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.

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

Example 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.


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

*Until it is removed in a future version of HTML

Also see: Browser, Compatibility, Deprecated, Obsolete