Attribute | Value | Description |
---|---|---|
accesskey | character | Specifies a shortcut key to access an element |
class | classname | Refers to a class specified in a style sheet |
contenteditable | true false inherit | Specifies whether a user can edit the content of an element or not |
contextmenu | menu_id | Specifies a context menu for an element. The value must be the id of a <menu> element |
dir | ltr rtl auto | Specifies the text direction for the content in an element |
draggable | true false auto | Specifies whether a user is allowed to drag an element or not |
dropzone | copy move link | Specifies what happens when dragged items/data is dropped in the element |
hidden | hidden | Specifies that an element should be hidden |
id | id | Specifies a unique id for an element |
lang | language_code | Specifies the language of the element's content |
spellcheck | true false | Specifies if the element must have its spelling and grammar checked |
style | style_definitions | Specifies an inline style for an element |
tabindex | number | Specifies the tab order of an element |
title | text | Specifies extra information about an element |
Showing posts with label Attribute used in html5. Show all posts
Showing posts with label Attribute used in html5. Show all posts
Saturday, 28 January 2012
HTML5 Global Attributes
Subscribe to:
Posts (Atom)