<strike> Tag Not Supported in HTML5
<strike> (short for strikethrough) element renders the enclosed text in strikethrough style i.e. with a line drawn through it.
The following table summarizes the usages context and the version history of this tag.
|Content:||Inline and text|
|Start/End Tag:||Start tag: required, End tag: required|
|Version:||HTML 3.2, 4, 4.01 (transitional)|
The basic syntax of the
<strike> tag is given with:
The example below shows the
<strike> tag in action.
ExampleTry this code »
<!--Example of bad usage. Don't use this tag-->
<p>Here is some <strike>strikethrough</strike> text.</p>
<p>Here is a good example of <span style="text-decoration: line-through;">strikethrough</span> text.</p>
<strike> is identical in purpose to the
<s> tag, which also specifies that the enclosed text should be rendered a line through it.
<strike> tag doesn't have any specific attribute.
<strike> tag is supported in all major modern browsers.