<strike>
HTML <strike> Tags - HTML5 Not supported
##Instance
Run instance»Click the "Run instance" button to view the online instance
<!DOCTYPE html> <html> <body> <p>Version 2.0 is <strike>not yet available!</strike> now available!</p> </body> </html>
Run instance»Click the "Run instance" button to view the online instance
Browser support
##All major browsers support the <strike> tag.
Tag definition and usage instructionsHTML5 does not support the <strike> tag. Please use <del> tag instead.
In HTML 4.01, the <strike> element is deprecated.
<strike> Defines strikethrough text.
Standard attributesIn HTML 4.01, the <strike> tag supports the following standard attributes:
Value | Description | |
---|---|---|
classname | Specifies the class name of the element | |
rtl | ltrSpecifies the text direction of the content in the element | |
id | Specifies the uniqueness of the element id | |
language_code | Specifies the language code of the content in the element | |
style_definition | Specifies the inline style of the element | |
text | Specifies additional information for elements |
Attribute | Value | Description |
---|---|---|
onclick | script | when Execute the script when the mouse is clicked |
ondblclick | script | Execute the script when the mouse is double-clicked |
onmousedown | script | Execute script when mouse button is pressed |
script | Execute script when mouse pointer moves||
script | Execute the script when the mouse pointer moves out of an element||
script | When Execute script when the mouse pointer hovers over an element||
script | When the mouse button is released Execute the script when the keyboard is pressed||
script | Execute the script when the keyboard is pressed | |
script | The script is executed when the keyboard is pressed and then released | |
#script | Execute script when keyboard is released |