Attribute | HTML4.01 | XHTML1.0 | XHTML | Value | ||||
S | T | F | S | T | F | 1.1 | ||
for | ● | ● | ● | ● | ● | ● | ● | 参照ID |
accesskey | ● | ● | ● | ● | ● | ● | ● | 任意の1文字 |
id | ● | ● | ● | ● | ● | ● | ● | 固有の拡張子 |
class | ● | ● | ● | ● | ● | ● | ● | 分類名 |
title | ● | ● | ● | ● | ● | ● | ● | 文字列 |
style | ● | ● | ● | ● | ● | ● | × | CSS |
子要素として持てる要素は、インラインレベル要素のみ
Attribute | HTML4.01 | XHTML1.0 | XHTML | Value | ||||
S | T | F | S | T | F | 1.1 | ||
accesskey | ● | ● | ● | ● | ● | ● | ● | 任意の1文字 |
align | × | ▲ | ▲ | × | ▲ | ▲ | × | 位置 |
id | ● | ● | ● | ● | ● | ● | ● | 固有の拡張子 |
class | ● | ● | ● | ● | ● | ● | ● | 分類名 |
title | ● | ● | ● | ● | ● | ● | ● | 文字列 |
style | ● | ● | ● | ● | ● | ● | × | CSS |
子要素として持てる要素は、インラインレベル要素のみ
Attribute | HTML4.01 | XHTML1.0 | XHTML | Value | ||||
S | T | F | S | T | F | 1.1 | ||
type | × | ▲ | ▲ | × | ▲ | ▲ | × | マーカー形式 |
value | × | ▲ | ▲ | × | ▲ | ▲ | × | 番号 |
id | ● | ● | ● | ● | ● | ● | ● | 固有の拡張子 |
class | ● | ● | ● | ● | ● | ● | ● | 分類名 |
title | ● | ● | ● | ● | ● | ● | ● | 文字列 |
style | ● | ● | ● | ● | ● | ● | × | CSS |
子要素として持てる要素は、ヘッダ部で使用する要素を除くすべての要素
Attribute | HTML4.01 | XHTML1.0 | XHTML | Value | ||||
S | T | F | S | T | F | 1.1 | ||
rel | ● | ● | ● | ● | ● | ● | ● | リンクタイプ |
rev | ● | ● | ● | ● | ● | ● | ● | リンクタイプ |
href | ● | ● | ● | ● | ● | ● | ● | URI |
hreflang | ● | ● | ● | ● | ● | ● | ● | 言語コード |
charset | ● | ● | ● | ● | ● | ● | ● | 文字符号コード |
type | ● | ● | ● | ● | ● | ● | ● | MIMEタイプ |
media | ● | ● | ● | ● | ● | ● | ● | メディアタイプ |
target | × | ● | ● | ● | ● | ● | × | URI |
id | ● | ● | ● | ● | ● | ● | ● | 固有の拡張子 |
class | ● | ● | ● | ● | ● | ● | ● | 分類名 |
title | ● | ● | ● | ● | ● | ● | ● | 文字列 |
style | ● | ● | ● | ● | ● | ● | × | CSS |
子要素として持てる要素はありません。