HTML and CSS Reference
In-Depth Information
<command label="Document" type="Command" default>
<command label="Link" type="Command">
<command label="Section" type="Command">
</menu>
<hr>
<command label="Sort Ascending" type="radio" radiogroup="sort">
<command label="Sort Descending" type="radio" radiogroup="sort">
</menu>
Compatibility
HTML 2, 3.2, 4, 4.01 (transitional), 5 (new functionality)
XHTML 1.0 (transitional)
Firefox 1+, Internet Explorer 2+,
Netscape 1+, Opera 4+, Safari 1+
Notes
• Under the strict HTML and XHTML specifications, this element is not defined.
Because most browsers simply render this style of list as an unordered list, using the
<ul> tag instead is preferable.
• HTML5 keeps the traditional sense of this element, but it also introduces a new
sense as an actual menu of commands. In this new use, the content model is much
different and the element may include list items, anchors, form fields, command
elements, and horizontal rules. At the time of this writing, no browsers support this
extended functionality.
• HTML5 may also allow menu elements to be referenced by id using the global
contextmenu attribute.
• The HTML 2.0 and 3.2 specifications support only the compact attribute, though
most browsers don't do anything with this attribute anyway.
<meta> (Meta-Information)
This element specifies general information about a document that can be used in document
indexing. It also allows a document to define fields in the HTTP response header when it is
sent from the server.
Standard Syntax
<meta
content="string"
dir="ltr | rtl"
http-equiv="http header string"
id="unique alphanumeric string"
lang="language code"
name="name of meta-information"
scheme="scheme type">
Attributes Introduced by HTML5
accesskey="spaced list of accelerator key(s)"
charset="character set"
contenteditable="true | false | inherit"
Search WWH ::




Custom Search