57
HTML <strike> tag (Not supported in HTML5)
HTML <strike> tag was used to strike a line through the text, contained within it.
Note: Do not use <strike> tag as it is obsolete now and not supported by HTML5, you can use <del>, <s> or CSS to achieve the same result.
Syntax
Following are some specifications about the HTML <strike> tag
Display | Inline |
Start tag/End tag | Both Start and End tag |
Usage | Formatting |
Example
Output:
Attribute:
Tag-specific attributes:
The <strike> tag does not contain any specific attribute.
Supporting Browsers
Element | Chrome | IE | Firefox | Opera | Safari |
<strike> | Yes | Yes | Yes | Yes | Yes |
Next TopicHTML strong Tag