Tutorials Point, Simply Easy Learning
contextmenu
Menu id
Specifies the context menu for an element.
data-XXXX
User Defined
Custom attributes. Authors of a HTML document can
define their own attributes. Must start with "data-".
draggable
true,false, auto
Specifies whether or not a user is allowed to drag an
element.
height
Numeric Value
Specifies the height of tables, images, or table cells.
hidden
hidden
Specifies whether element should be visible or not.
id
User Defined
Names an element for use with Cascading Style
Sheets.
item
List of elements
Used to group elements.
itemprop
List of items
Used to group items.
spellcheck
true, false
Specifies if the element must have it's spelling or
grammar checked.
style
CSS Style sheet
Specifies an inline style for an element.
subject
User define id
Specifies the element's corresponding item.
tabindex
Tab number
Specifies the tab order of an element.
title
User Defined
"Pop-up" title for your elements.
valign
top, middle, bottom
Vertically aligns tags within an HTML element.
width
Numeric Value
Specifies the width of tables, images, or table cells.
For a complete list of HTML5 Tags and related attributes please check reference to HTML5 Tags.
Custom Attributes:
A new feature being introduced in HTML 5 is the addition of custom data attributes.
A custom data attribute starts with data- and would be named based on your requirement.
Following is the simple example: