- Mars
- Jupiter
- Saturn
Ordered list
52
3. Mars 4. Jupiter 5. Saturn
Attribute
Value
Description
reversed
{boolean}
Descending list order
start
{number}
Initial list number
Apple Peach Tomato Onion
Group of related options in a select list. Closing tag is not required in HTML5.
Attribute
Value
Description
label
{text string}
Option group label
disabled
{boolean}
Disables option group options
Apple Peach
Drop-down list option
Attribute
Value
Description
disabled
{boolean}
Disabled option
label
{text string}
Alternative label to the option item
selected
{boolean}
Initially selected option
value
{text string}
Initial value of the option item
Closing tag is not required in HTML5.
Output element definition. Could be used for data calculations
Attribute
Value
Description
for
id of another element Element association
form
{text string}
Forms association
name
{text string}
Unique object name for the form
Summary of HTML5 Elements > Chapter Legend & Conventions Tag
Code Example
Description
Paragraph text
Paragraph
This page requires the use of plug-in
Object parameter
Attribute
Value
Description
name
{text string}
Defines a unique name for the parameter. Required attribute.
value
{text string}
Specifies the value of the parameter. Required attribute.
This text should be displayed preserving spacing and ignoring word wrap
Pre-formatted text. Text is displayed in a fixed-width font such as Courier, preserving spacing and ignoring word wrap.
Downloading now. please wait...
Animated task in-progress indication
30%
Downloading now. please wait...
Attribute
Value
Description
max
{number}
Task completion measurement
value
{number}
Overall task measurement
The phrase to be, or not to be
comes from William Shakespeare’s Hamlet.
Quotation The phrase to “be, or not to be” comes from William Shakespeare’s Hamlet.
Attribute
Value
Description
cite
{URL}
Quotation source
53
Chapter 3. HTML5 Elements Tag
Code Example
Description
Table row Attributes deprecated in HTML5: align, char, charoff, valign
Deprecated in HTML5
|