Article introduction of Wulin.com (www.vevb.com): HTML tags have attributes. You can find the corresponding special properties in the reference page of each tag. The properties listed here are core attributes and language attributes that are commonly used for each tag (with individual exceptions).
HTML tags have attributes. You can find the corresponding special properties in the reference page of each tag. The properties listed here are core attributes and language attributes that are commonly used for each tag (with individual exceptions).
Differences between HTML 4.01 and HTML 5
New properties in HTML 5: contenteditable, contextmenu, draggable, irrelevant, ref, registrationmark, template.
Properties that are no longer supported in HTML 4.01: accesskey.
property
Attribute value description 45
acceskeya character sets keyboard shortcuts to access an element. Not supported. 4
classclass_rule or style_rule element class name. 45
contenteditabletrue
false sets whether the user can edit elements. 5
contentextmenuid of a menu element sets a context menu for the element. 5
dirltr
rtl sets the text orientation. 45
draggabletrue
false
auto sets whether to allow the user to drag elements. 5
The unique id of the idid_name element. 45
irrelevanttrue
false sets whether the elements are related. Non-related elements are displayed. 5
language_code sets the language code. 45
refurl or elementID references another document or another location on this document. Used only when the template property is set. 5
registrationmarkregistration mark sets to take pictures for elements. Can be specified in descendants of any <rule> element, except for the <nest> element. 5
Style definitions within the style style_definition line. 45
tabindexnumber sets the tab order of elements. 45
The templateurl or elementID reference should be applied to another document on that element or another location on this document. 5
titletooltip_text The text displayed in the tooltip. 45