Attribute | HTML4.01 | XHTML1.0 | XHTML | Value | ||||
S | T | F | S | T | F | 1.1 | ||
href | ● | ● | ● | ● | ● | ● | ● | URI |
id | ● | ● | ● | ● | ● | ● | ● | 固有の拡張子 |
class | ● | ● | ● | ● | ● | ● | ● | 分類名 |
charset | ● | ● | ● | ● | ● | ● | ● | 文字符号 |
name | ● | ● | ● | ● | ● | ● | × | Path |
accesskey | ● | ● | ● | ● | ● | ● | ● | 任意の1文字 |
target | × | ● | ● | × | ● | ● | × | フレーム名 |
lang | ● | ● | ● | ● | ● | ● | × | Language Code |
tabindex | ● | ● | ● | ● | ● | ● | ● | 任意の数字 |
title | ● | ● | ● | ● | ● | ● | ● | 文字列 |
style | ● | ● | ● | ● | ● | ● | × | CSS |
子要素として持てる要素は、インラインレベル要素のみ
Attribute | HTML4.01 | XHTML1.0 | XHTML | Value | ||||
S | T | F | S | T | F | 1.1 | ||
id | ● | ● | ● | ● | ● | ● | ● | 固有の拡張子 |
class | ● | ● | ● | ● | ● | ● | ● | 分類名 |
style | ● | ● | ● | ● | ● | ● | × | CSS |
dir | ● | ● | ● | ● | ● | ● | ● | 文字方向 |
子要素として持てる要素は、インラインレベル要素、del、ins、script要素のみ
Attribute | HTML4.01 | XHTML1.0 | XHTML | Value | ||||
S | T | F | S | T | F | 1.1 | ||
alt | ● | ● | ● | ● | ● | ● | ● | 代替テキスト |
shape | ● | ● | ● | ● | ● | ● | ● | 領域の形状 |
coords | ● | ● | ● | ● | ● | ● | ● | 領域の座標 |
id | ● | ● | ● | ● | ● | ● | ● | 固有の拡張子 |
class | ● | ● | ● | ● | ● | ● | ● | 分類名 |
style | ● | ● | ● | ● | ● | ● | × | CSS |
accesskey | ● | ● | ● | ● | ● | ● | ● | 任意の1文字 |
target | × | ● | ● | × | ● | ● | × | フレーム名 |
tabindex | ● | ● | ● | ● | ● | ● | ● | 任意の数字 |
dir | ● | ● | ● | ● | ● | ● | ● | 文字方向 |
子要素として持てる要素はありません。