Boolean Attributes Several types of attributes can be used. One of the most commonly used types is Boolean
attribute. The Boolean attribute can take a value from the allowable set of values. Some
possible values include:
Checked
Disabled
Selected
Readonly
There are two ways to indicate the value of a Boolean attribute.
In the first case, the value is not given and is assumed. Although, the latter seems like a
redundant form, it is the more preferred form, particularly if you are using jQuery.
Global Attribute Reference There is a set of named attributes available in HTML5, which can be used with any
element. Examples of these attributes include accesskey, spellcheck and draggable, in
addition to several others.
Void Elements Some elements do not have to contain content under any circumstance. These elements
include ,
and , in addition to many others.