Attribute | HTML4.01 | XHTML1.0 | XHTML | Value | ||||
S | T | F | S | T | F | 1.1 | ||
align | × | ● | ● | × | ● | ● | × | 位置 |
id | ● | ● | ● | ● | ● | ● | ● | 固有の拡張子 |
class | ● | ● | ● | ● | ● | ● | ● | 分類名 |
title | ● | ● | ● | ● | ● | ● | ● | 文字列 |
style | ● | ● | ● | ● | ● | ● | × | CSS |
子要素として持てる要素は、インラインレベル要素のみ
Attribute | HTML4.01 | XHTML1.0 | XHTML | Value | ||||
S | T | F | S | T | F | 1.1 | ||
profile | ● | ● | ● | ● | ● | ● | ● | URI |
lang | ● | ● | ● | ● | ● | ● | × | 言語 |
dir | ● | ● | ● | ● | ● | ● | ● | 文字方向 |
子要素として持てる要素は、meta、link、title、script要素など
Attribute | HTML4.01 | XHTML1.0 | XHTML | Value | ||||
S | T | F | S | T | F | 1.1 | ||
align | × | ● | ● | × | ● | ● | × | 位置 |
size | × | ● | ● | × | ● | ● | × | ピクセル |
width | × | ● | ● | × | ● | ● | × | 長さ |
noshade | × | ● | ● | × | ● | ● | × | XHTMLは noshade |
id | ● | ● | ● | ● | ● | ● | ● | 固有の拡張子 |
class | ● | ● | ● | ● | ● | ● | ● | 分類名 |
title | ● | ● | ● | ● | ● | ● | ● | 文字列 |
style | ● | ● | ● | ● | ● | ● | × | CSS |
子要素として持てる要素はありません。
Attribute | HTML4.01 | XHTML1.0 | XHTML | Value | ||||
S | T | F | S | T | F | 1.1 | ||
version | ● | ● | ● | ● | ● | ● | × | 文字列 |
lang | ● | ● | ● | ● | ● | ● | × | 言語 |
dir | ● | ● | ● | ● | ● | ● | ● | 文字方向 |
xml:lang | × | × | × | ● | ● | ● | ● | 言語 |
子要素として持てる要素は、body要素、head要素のみ