HTML Arttibutes

HTML Global Attributes

New : New global attributes in HTML5.
AttributeDescription
accesskeySpecifies a shortcut key to activate/focus an element
classSpecifies one or more classnames for an element (refers to a class in a style sheet)
contenteditableNewSpecifies whether the content of an element is editable or not
contextmenuNewSpecifies a context menu for an element. The context menu appears when a user right-clicks on the element
dirSpecifies the text direction for the content in an element
draggableNewSpecifies whether an element is draggable or not
dropzoneNewSpecifies whether the dragged data is copied, moved, or linked, when dropped
hiddenNewSpecifies that an element is not yet, or is no longer, relevant
idSpecifies a unique id for an element
langSpecifies the language of the element's content
spellcheckNewSpecifies whether the element is to have its spelling and grammar checked or not
styleSpecifies an inline CSS style for an element
tabindexSpecifies the tabbing order of an element
titleSpecifies extra information about an element
translateNewSpecifies whether an element's value are to be translated when the page is localized, or not.

0 komentar:

Posting Komentar