Official specification
http://www.w3.org/TR/xhtml11/
Example
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Document title</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<h1>Hello World!</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
<p>roin velit est, hendrerit vitae, aliquet tincidunt, accumsan eu, pede.</p>
</body>
</html>
Elements
Element |
Description |
Total |
83 |
a |
Anchor |
abbr |
Abbreviation |
acronym |
Acronym |
address |
Address |
area |
Client-side image map |
b |
Bold text style |
base |
Document base URI |
bdo |
I18N BiDi over-ride |
big |
Large text style |
blockquote |
Long quotation |
body |
Document body |
br |
Forced line break |
button |
Push button |
caption |
(Table) caption |
cite |
Citation |
code |
Code fragment |
col |
Table column |
colgroup |
Table column group |
dd |
Definition description |
del |
Deleted text |
dfn |
Instance definition |
div |
Generic container |
dl |
Definition list |
dt |
Definition term |
em |
Emphasis |
fieldset |
Form control group |
form |
Interactive form |
h1 |
Heading level 1 |
h2 |
Heading level 2 |
h3 |
Heading level 3 |
h4 |
Heading level 4 |
h5 |
Heading level 5 |
h6 |
Heading level 6 |
head |
Document head |
hr |
Horizontal rule |
html |
Document root |
i |
Italic text style |
img |
Embedded image |
input |
Form control |
ins |
Inserted text |
kbd |
Text to be entered |
label |
Form field label (XHTML 2: list label) |
legend |
Fieldset legend |
li |
List item |
link |
Link to another resource |
map |
Client-side image map |
meta |
Meta-information |
noscript |
Alternate content container for non script-based rendering |
object |
External object |
ol |
Ordered list |
optgroup |
Option group |
option |
Selectable choice |
p |
Paragraph |
param |
Named property value |
pre |
Preformatted text |
q |
Short inline quotation |
rb |
Ruby base |
rbc |
Ruby base container |
rp |
Ruby parentheses |
rt |
Ruby text |
rtc |
Ruby text container |
ruby |
Ruby markup |
samp |
Sample output |
script |
Script statements |
select |
Option selector |
small |
Small text style |
span |
Generic container |
strong |
Strong emphasis |
style |
Definition of style rules |
sub |
Subscript |
sup |
Superscript |
table |
Table |
tbody |
Table body |
td |
Table cell |
textarea |
Multi-line text field |
tfoot |
Table footer |
th |
Table header cell |
thead |
Table header |
title |
Document title |
tr |
Table row |
tt |
Monospaced text style |
ul |
Unordered list |
var |
Variable instance |