/[pub]/test/html.dtd
Suika

Contents of /test/html.dtd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (hide annotations) (download)
Wed Jul 20 16:24:43 1994 UTC (30 years, 3 months ago) by connolly
Branch: MAIN
CVS Tags: python
Changes since 1.17: +2 -2 lines
Changed HTML.version to a parameter entity, added #fixed attribute
on HTML element to report version to application

1 connolly 1.7 <!-- html.dtd
2    
3 connolly 1.16 Document Type Definition for the HyperText Markup Language (HTML DTD)
4 connolly 1.5
5 connolly 1.18 $Id: html.dtd,v 1.17 1994/07/20 15:46:38 connolly Exp $
6 connolly 1.11
7 connolly 1.13 Author: Daniel W. Connolly <connolly@hal.com>
8 connolly 1.16 See Also: html.decl, html-0.dtd, html-1.dtd
9     http://www.hal.com/%7Econnolly/html-spec/index.html
10 connolly 1.14 http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html
11 connolly 1.2 -->
12    
13 connolly 1.18 <!ENTITY % HTML.Version
14 connolly 1.17 "+//ISBN 82-7640-037::WWW//DTD HTML//EN//2.0"
15 connolly 1.13
16     -- Typical usage:
17    
18 connolly 1.17 <!DOCTYPE HTML PUBLIC "+//ISBN 82-7640-037::WWW//DTD HTML//EN">
19 connolly 1.13 <html>
20     ...
21     </html>
22     --
23     >
24    
25    
26 connolly 1.16 <!-- Imported Names -->
27 connolly 1.8
28     <!ENTITY % Content-Type "CDATA"
29 connolly 1.12 -- meaning a MIME content type, as per RFC1521
30 connolly 1.8 -->
31 connolly 1.2
32 connolly 1.16 <!ENTITY % HTTP-Method "GET | POST">
33 connolly 1.8
34    
35 connolly 1.16 <!-- Include level 1 DTD + block extensions -->
36 connolly 1.12
37 connolly 1.17 <!ENTITY % block-2 "| FORM | ISINDEX">
38 connolly 1.12
39 connolly 1.17 <!ENTITY % html-1 PUBLIC "+//ISBN 82-7640-037::WWW//DTD HTML Level 1//EN//2.0">
40 connolly 1.16 %html-1;
41 connolly 1.6
42 connolly 1.3
43 connolly 1.8 <!-- Forms -->
44    
45 connolly 1.16 <!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)>
46 connolly 1.8 <!ATTLIST FORM
47     ACTION %URI #REQUIRED
48 connolly 1.17 METHOD (%HTTP-Method) GET
49     ENCTYPE %Content-Type; "application/x-www-form-urlencoded"
50 connolly 1.8 >
51    
52     <!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX |
53     RADIO | SUBMIT | RESET |
54     IMAGE | HIDDEN )">
55     <!ELEMENT INPUT - O EMPTY>
56     <!ATTLIST INPUT
57 connolly 1.17 TYPE %InputType TEXT
58 connolly 1.8 NAME CDATA #IMPLIED -- required for all but submit and reset --
59     VALUE CDATA #IMPLIED
60     SRC %URI #IMPLIED -- for image inputs --
61 connolly 1.11 CHECKED (CHECKED) #IMPLIED
62 connolly 1.17 SIZE CDATA #IMPLIED -- like NUMBERS,
63     but delimited with comma, not space --
64 connolly 1.8 MAXLENGTH NUMBER #IMPLIED
65 connolly 1.17 ALIGN (top|middle|bottom) #IMPLIED
66 connolly 1.8 >
67    
68     <!ELEMENT SELECT - - (OPTION+)>
69     <!ATTLIST SELECT
70     NAME CDATA #REQUIRED
71     SIZE NUMBER #IMPLIED
72 connolly 1.11 MULTIPLE (MULTIPLE) #IMPLIED
73 connolly 1.8 >
74    
75     <!ELEMENT OPTION - O (#PCDATA)>
76     <!ATTLIST OPTION
77 connolly 1.11 SELECTED (SELECTED) #IMPLIED
78 connolly 1.8 VALUE CDATA #IMPLIED
79     >
80    
81     <!ELEMENT TEXTAREA - - (#PCDATA)>
82     <!ATTLIST TEXTAREA
83     NAME CDATA #REQUIRED
84 connolly 1.17 ROWS NUMBER #REQUIRED
85 connolly 1.8 COLS NUMBER #REQUIRED
86     >
87 connolly 1.2
88 connolly 1.12
89    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24