TOP / Contents / Previous / Next / Index
<!-- only one noframes element permitted per document --> <!ELEMENT frameset (frameset|frame|noframes)*> <!ATTLIST frameset %coreattrs; rows %MultiLengths; #IMPLIED cols %MultiLengths; #IMPLIED onload %Script; #IMPLIED onunload %Script; #IMPLIED >
<!ELEMENT FRAMESET - - ((FRAMESET|FRAME)+ & NOFRAMES?) -- window subdivision--> <!ATTLIST FRAMESET %coreattrs; -- id, class, style, title -- rows %MultiLengths; #IMPLIED -- list of lengths, default: 100% (1 row) -- cols %MultiLengths; #IMPLIED -- list of lengths, default: 100% (1 col) -- onload %Script; #IMPLIED -- all the frames have been loaded -- onunload %Script; #IMPLIED -- all the frames have been removed -- >
<!-- reserved frame names start with "_" otherwise starts with letter --> <!ELEMENT frame EMPTY> <!ATTLIST frame %coreattrs; longdesc %URI; #IMPLIED name NMTOKEN #IMPLIED src %URI; #IMPLIED frameborder (1|0) "1" marginwidth %Pixels; #IMPLIED marginheight %Pixels; #IMPLIED noresize (noresize) #IMPLIED scrolling (yes|no|auto) "auto" >
<!-- reserved frame names start with "_" otherwise starts with letter --> <!ELEMENT FRAME - O EMPTY -- subwindow --> <!ATTLIST FRAME %coreattrs; -- id, class, style, title -- longdesc %URI; #IMPLIED -- link to long description (complements title) -- name CDATA #IMPLIED -- name of frame for targetting -- src %URI; #IMPLIED -- source of frame content -- frameborder (1|0) 1 -- request frame borders? -- marginwidth %Pixels; #IMPLIED -- margin widths in pixels -- marginheight %Pixels; #IMPLIED -- margin height in pixels -- noresize (noresize) #IMPLIED -- allow users to resize frames? -- scrolling (yes|no|auto) auto -- scrollbar or none -- >
inline subwindow(HTML 4ではinline frame)って注釈があります。window の中に更に小さなwindowを表示します。
また、w3c の解説文書では、OBJECT でも代用できると書いてもあります。
<!ELEMENT iframe %Flow;> <!ATTLIST iframe %coreattrs; longdesc %URI; #IMPLIED name NMTOKEN #IMPLIED src %URI; #IMPLIED frameborder (1|0) "1" marginwidth %Pixels; #IMPLIED marginheight %Pixels; #IMPLIED scrolling (yes|no|auto) "auto" align %ImgAlign; #IMPLIED height %Length; #IMPLIED width %Length; #IMPLIED >
<!ELEMENT iframe %Flow;> <!ATTLIST iframe %coreattrs; longdesc %URI; #IMPLIED name NMTOKEN #IMPLIED src %URI; #IMPLIED frameborder (1|0) "1" marginwidth %Pixels; #IMPLIED marginheight %Pixels; #IMPLIED scrolling (yes|no|auto) "auto" align %ImgAlign; #IMPLIED height %Length; #IMPLIED width %Length; #IMPLIED >
<!ENTITY % heading "H1|H2|H3|H4|H5|H6"> <!ENTITY % list "UL | OL | DIR | MENU"> <!ENTITY % preformatted "PRE"> <!ENTITY % block "P | %heading; | %list; | %preformatted; | DL | DIV | CENTER | NOSCRIPT | NOFRAMES | BLOCKQUOTE | FORM | ISINDEX | HR | TABLE | FIELDSET | ADDRESS"> <!ENTITY % fontstyle "TT | I | B | U | S | STRIKE | BIG | SMALL"> <!ENTITY % phrase "EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | ABBR | ACRONYM" > <!ENTITY % special "A | IMG | APPLET | OBJECT | FONT | BASEFONT | BR | SCRIPT | MAP | Q | SUB | SUP | SPAN | BDO | IFRAME"> <!ENTITY % formctrl "INPUT | SELECT | TEXTAREA | LABEL | BUTTON"> <!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; | %formctrl;"> <!ENTITY % flow "%block; | %inline;"> <![ %HTML.Frameset; [ <!ENTITY % noframes.content "(BODY) -(NOFRAMES)"> ]]> <!ENTITY % noframes.content "(%flow;)*"> <!ELEMENT IFRAME - - (%flow;)* -- inline subwindow --> <!ATTLIST IFRAME %coreattrs; -- id, class, style, title -- longdesc %URI; #IMPLIED -- link to long description (complements title) -- name CDATA #IMPLIED -- name of frame for targetting -- src %URI; #IMPLIED -- source of frame content -- frameborder (1|0) 1 -- request frame borders? -- marginwidth %Pixels; #IMPLIED -- margin widths in pixels -- marginheight %Pixels; #IMPLIED -- margin height in pixels -- scrolling (yes|no|auto) auto -- scrollbar or none -- align %IAlign; #IMPLIED -- vertical or horizontal alignment -- height %Length; #IMPLIED -- frame height -- width %Length; #IMPLIED -- frame width -- >
Frame に対応していない場合(設定等によって、敢えて設定しない場合も含む)に表示する文章を示します。
Frameset の場合は、BODY要素を中身として持ちます。ただし、BODYタグは省略可能なので、明示する必要はありません。
<!ELEMENT noframes %Flow;> <!ATTLIST noframes %attrs; >
<!ELEMENT noframes (body)> <!ATTLIST noframes %attrs; >
<!ENTITY % heading "H1|H2|H3|H4|H5|H6"> <!ENTITY % list "UL | OL | DIR | MENU"> <!ENTITY % preformatted "PRE"> <!ENTITY % block "P | %heading; | %list; | %preformatted; | DL | DIV | CENTER | NOSCRIPT | NOFRAMES | BLOCKQUOTE | FORM | ISINDEX | HR | TABLE | FIELDSET | ADDRESS"> <!ENTITY % fontstyle "TT | I | B | U | S | STRIKE | BIG | SMALL"> <!ENTITY % phrase "EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | ABBR | ACRONYM" > <!ENTITY % special "A | IMG | APPLET | OBJECT | FONT | BASEFONT | BR | SCRIPT | MAP | Q | SUB | SUP | SPAN | BDO | IFRAME"> <!ENTITY % formctrl "INPUT | SELECT | TEXTAREA | LABEL | BUTTON"> <!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; | %formctrl;"> <!ENTITY % flow "%block; | %inline;"> <![ %HTML.Frameset; [ <!ENTITY % noframes.content "(BODY) -(NOFRAMES)"> ]]> <!ENTITY % noframes.content "(%flow;)*"> <!ELEMENT NOFRAMES - - %noframes.content; -- alternate content container for non frame-based rendering --> <!ATTLIST NOFRAMES %attrs; -- %coreattrs, %i18n, %events -- >
Copyright (c) 1999-2000,2002 Yuuichirou Oka
[E-mail] avex-freak@ma1.seikyou.ne.jp
All right reserved. International copyright secured.