XHTML Structure
<bdo>…</bdo>
Usage | | Start/End Tag | Required/Required. | Attributes | core.
lang="language"
The language of the document.
dir="direction"
The text direction (ltr, rtl). Mandatory attribute. | Empty | No. |
<body>…</body>
Usage | Contains the document's content. | Start/End Tag | Optional/Optional. | Attributes | core, i18n, events.
onload="eventcode"
Intrinsic event triggered when the document loads.
onunload="eventcode"
Intrinsic event triggered when document unloads. | Empty | No. | Notes | There can be only one <body>, and it must follow the <head>. The <body> element can be replaced by a <frameset> element. |
Comments <!-- … -->
Usage | | Start/End Tag | Required/Required. | Attributes | None. | Empty | Yes. | Notes | |
<div>…</div>
| | Usage | | | | Start/End Tag | Required/Required. | | | Attributes | core, i18n, events. | |
You may run across HTML web pages that use the <div> element with an attribute named aligntext-align |
| | | Empty | No. | | | Notes | Cannot be used within a p element. |
<!doctype...>
<h1>…</h1> Through <h6>…</h6>
Usage | The six headings (h1 is uppermost, or most important) are used in the body to structure information in a hierarchical fashion. | Start/End Tag | Required/Required. | Attributes | core, i18n, events. | Empty | No. | Notes | <h1> being the largest and <h6> being the smallest. |
<head>…</head>
Usage | | Start/End Tag | Optional/Optional. | Attributes | i18n.
profile="url"
URL specifying the location of meta data. | Empty | No. | Notes | There can be only one <head> per document. It must follow the opening <html> tag and precede the <body>. |
<hr />
Usage | Horizontal rules are used to separate sections of a web page. | Start/End Tag | Required/Illegal. | Attributes | core, events, i18n. | Empty | Yes. |
<html>…</html>
Usage | The html element contains the entire document. | Start/End Tag | Optional/Optional. | Attributes | i18n. | Empty | No. | Notes | The version information is duplicated in the <!doctype...> declaration and is therefore not essential. |
<meta />
Usage | Provides information about the document. | Start/End Tag | Required/Illegal. | Attributes | i18n.
http-equiv="servercmd"
HTTP response header name.
name="name"
Name of the meta information.
content="value"
Content of the meta information.
scheme="scheme"
Assigns a scheme to interpret the meta data. | Empty | Yes. |
<span>…</span>
Usage | Organizes the document by defining a span of text. | Start/End Tag | Required/Required. | Attributes | core, i18n, events. | Empty | No. |
<title>…</title>
Usage | The name you give your web page. The <title> tag is placed in the <head> tag and is displayed in the browser window title bar. | Start/End Tag | Required/Required. | Attributes | i18n. | Empty | No. | Notes | Only one title allowed per document. |
|