HTML -lt;strike-gt; Tags - HTML5 does not support
The label is used to add a strike line to the text, as shown in the following example, but is not supported in HTML5.Add a delete line to the text:
Try it out . . .
Browser support
All major browsers support the hashtag.
Label definition and instructions for use
HTML5 does not support labeling. Please replace it with a label.
In HTML 4.01, the element is discarded.
Define the text with a strike.
The standard property
In HTML 4.01, the label supports the following standard properties:
Attributes | value | describe |
---|---|---|
class | classname | The name of the specified element |
dir |
rtl
ltr |
Specify the text direction of the content in the elements |
id | id | Unique ID of the specified element |
lang | language_code | Specify language code in the contents of the elements |
style | style_definition | Introduction to the elements |
title | text | Additional information of the specified elements |
For a complete description, visit Standard Properties.
The event property
In HTML 4.01, the labels support the following event properties:
Attributes | value | describe |
---|---|---|
onclick | script | Perform a script when the mouse is clicked |
ondblclick | script | When the mouse is double-bit, execute the script |
onmousedown | script | When the mouse button is pressed, execute the script |
onmousemove | script | Execute a script when the mouse pointer moves |
onmouseout | script | Execute a script when the mouse pointer is moved out of an element |
onmouseover | script | Execute the script when the mouse pointer hovers over a certain element |
onmouseup | script | Perform a script when the mouse button is released |
onkeydown | script | Perform a script when the keyboard is pressed |
onkeypress | script | When the keyboard is pressed, execute the script when it is released. |
onkeyup | script | When the keyboard is released, the script is executed. |
For a complete description, visit Event Properties.