document root element. . .
属性 | 属性値の型 | 必須? | 注釈 |
---|---|---|---|
lang | %LanguageCode; | #IMPLIED | language code |
dir | (ltr|rtl) | #IMPLIED | direction for weak/neutral text |
document head . . .
属性 | 属性値の型 | 省略時値 | 注釈 |
---|---|---|---|
lang | %LanguageCode; | #IMPLIED | language code |
dir | (ltr|rtl) | #IMPLIED | direction for weak/neutral text //lang, dir |
profile | %URI; | #IMPLIED | named dictionary of meta info |
document body. . .
属性 | 属性値の型 | 省略時値 | 注釈 |
---|---|---|---|
onload | %Script; | #IMPLIED | the document has been loaded |
onunload | %Script; | #IMPLIED | the document has been removed |
covers inline or "text-level" elements
インライン要素はその性質から以下のように分けられます。
DTDでは#PCDATA (Parsed Character Data)となっています。JIS X 4151 用語の定義より引用すると
構文解析され,マークが認知されている文の内容中に出現する0個以上の文字であって, 解析中にマークとして認知されないので,データ文字として分類されるもの
とりあえずは< >で括られていない部分の文字ということでしょうか? 言い換えればマークアップする前のテキスト。
フォントスタイル・タイプの要素は以下の五種類があります。
phrase - - (%inline;)*
語句の意味をマークアップするための要素は以下の十種類が用意されています。
特徴のあるインライン要素です。
anchor. . .アンカー
属性 | 属性値の型 | 必須? | 注釈 |
---|---|---|---|
charset | %Charset; | #IMPLIED | char encoding of linked resourced |
type | %ContentType; | #IMPLIED | advisory content typed |
name | CDATA | #IMPLIED | named link end |
href | %URI; | #IMPLIED | URI for linked resource |
hreflang | %LanguageCode; | #IMPLIED | language code |
rel | %LinkTypes; | #IMPLIED | forward link types |
rev | %LinkTypes; | #IMPLIED | reverse link types |
accesskey | %Character; | #IMPLIED | accessibility key character |
shape | %Shape; | rect | for use with client-side image maps |
coords | %Coords; | #IMPLIED | for use with client-side image maps |
tabindex | NUMBER | #IMPLIED | position in tabbing order |
onfocus | %Script; | #IMPLIED | the element got the focus |
onblur | %Script; | #IMPLIED | the element lost the focus |
Embedded image. . .埋め込み画像
属性 | 属性値の型 | 必須? | 注釈 |
---|---|---|---|
src | %URI; | #REQUIRED | URI of image to embed |
alt | %Text; | #REQUIRED | short description |
longdesc | %URI; | #IMPLIED | link to long description (complements alt) |
height | %Length; | #IMPLIED | override height |
width | %Length; | #IMPLIED | override width |
usemap | %URI; | #IMPLIED | use client-side image map |
ismap | (ismap) | #IMPLIED | use server-side image map |
generic embedded object. . .オブジェクト
属性 | 属性値の型 | 必須? | 注釈 |
---|---|---|---|
declare | (declare) | #IMPLIED | declare but don't instantiate flag |
classid | %URI; | #IMPLIED | identifies an implementation |
codebase | %URI; | #IMPLIED | base URI for classid, data, archive |
data | %URI; | #IMPLIED | reference to object's data |
type | %ContentType; | #IMPLIED | content type for data |
codetype | %ContentType; | #IMPLIED | content type for code |
archive | %URI; | #IMPLIED | space separated archive list |
standby | %Text; | #IMPLIED | message to show while loading |
height | %Length; | #IMPLIED | override height |
width | %Length; | #IMPLIED | override width |
usemap | %URI; | #IMPLIED | use client-side image map |
name | CDATA | #IMPLIED | submit as part of form |
tabindex | NUMBER | #IMPLIED | position in tabbing order |
forced line break. . .改行
script statements. . .スクリプト
属性 | 属性値の型 | 必須? | 注釈 |
---|---|---|---|
charset | %Charset; | #IMPLIED | char encoding of linked resource |
type | %ContentType; | #REQUIRED | content type of script language |
src | %URI; | #IMPLIED | URI for an external script |
defer | (defer) | #IMPLIED | UA may defer execution of script |
event | CDATA | #IMPLIED | reserved for possible future use |
for | %URI; | #IMPLIED | reserved for possible future use |
client-side image map. . .クライアント側のイメージマップ
画像マップ。属性 | 属性値の型 | 必須? | 注釈 |
---|---|---|---|
name | CDATA | #REQUIRED | for reference by usemap |
short inline quotation. . .引用句
属性 | 属性値の型 | 必須? | 注釈 |
---|---|---|---|
cite | %URI; | #IMPLIED | URI for source document or msg |
subscript. . .下付文字
superscript. . .上付文字
generic language/style container. . .スタイル用の入れ物
I18N BiDi over-ride. . .言語や書字方向の再指定
属性 | 属性値の型 | 必須? | 注釈 |
---|---|---|---|
lang | %LanguageCode; | #IMPLIED | language code |
dir | (ltr|rtl) | #REQUIRED | directionality |
form control. . .
属性 | 属性値の型 | 必須? | 注釈 |
---|---|---|---|
type | %InputType; | TEXT | what kind of widget is needed -- |
name | CDATA | #IMPLIED | submit as part of form |
value | CDATA | #IMPLIED | required for radio and checkboxes |
checked | checked | #IMPLIED | for radio buttons and check boxes |
disabled | (disabled) | #IMPLIED | unavailable in this context |
readonly | (readonly) | #IMPLIED | for text and passwd |
size | CDATA | #IMPLIED | specific to each type of field |
maxlength | NUMBER | #IMPLIED | max chars for text fields |
src | %URI; | #IMPLIED | for fields with images |
alt | CDATA | #IMPLIED | short description |
usemap | %URI; | #IMPLIED | use client-side image map |
tabindex | NUMBER | #IMPLIED | position in tabbing order |
accesskey | %Character; | #IMPLIED | accessibility key character |
onfocus | %Script; | #IMPLIED | the element got the focus |
onblur | %Script; | #IMPLIED | the element lost the focus |
onselect | %Script; | #IMPLIED | some text was selected |
onchange | %Script; | #IMPLIED | the element value was changed |
accept | %ContentTypes; | #IMPLIED | list of MIME types for file upload |
%reserved; | reserved for possible future use |
option selector. . .
属性 | 属性値の型 | 必須? | 注釈 |
---|---|---|---|
name | CDATA | #IMPLIED | field name |
size | NUMBER | #IMPLIED | rows visible |
multiple | (multiple) | #IMPLIED | default is single selection |
disabled | (disabled) | #IMPLIED | unavailable in this context |
tabindex | NUMBER | #IMPLIED | position in tabbing order |
onfocus | %Script; | #IMPLIED | the element got the focus |
onblur | %Script; | #IMPLIED | the element lost the focus |
onchange | %Script; | #IMPLIED | the element value was changed |
%reserved; | reserved for possible future use |
multi-line text field. . .
属性 | 属性値の型 | 必須? | 注釈 |
---|---|---|---|
name | CDATA | #IMPLIED | |
rows | NUMBER | #REQUIRED | |
cols | NUMBER | #REQUIRED | |
disabled | (disabled) | #IMPLIED | unavailable in this context |
readonly | (readonly) | #IMPLIED | |
tabindex | NUMBER | #IMPLIED | position in tabbing order |
accesskey | %Character; | #IMPLIED | accessibility key character |
onfocus | %Script; | #IMPLIED | the element got the focus |
onblur | %Script; | #IMPLIED | the element lost the focus |
onselect | %Script; | #IMPLIED | some text was selected |
onchange | %Script; | #IMPLIED | the element value was changed |
form field label text (Each label must not contain more than ONE field). . .
属性 | 属性値の型 | 必須? | 注釈 |
---|---|---|---|
for | IDREF | #IMPLIED | matches field ID value |
accesskey | %Character; | #IMPLIED | accessibility key character |
onfocus | %Script; | #IMPLIED | the element got the focus |
onblur | %Script; | #IMPLIED | the element lost the focus |
push button. . .
属性 | 属性値の型 | 必須? | 注釈 |
---|---|---|---|
name | CDATA | #IMPLIED | |
value | CDATA | #IMPLIED | sent to server when submitted |
type | (button|submit|reset) | submit | for use as form button |
disabled | disabled) | #IMPLIED | unavailable in this context |
tabindex | NUMBER | #IMPLIED | position in tabbing order |
accesskey | %Character; | #IMPLIED | accessibility key character |
onfocus | %Script; | #IMPLIED | the element got the focus |
onblur | %Script; | #IMPLIED | the element lost the focus |
%reserved; | reserved for possible future use |