~ubuntu-branches/ubuntu/maverick/sgml-data/maverick

« back to all changes in this revision

Viewing changes to sgml/html/dtd/ie-3.0.dtd

  • Committer: Bazaar Package Importer
  • Author(s): Adam Di Carlo
  • Date: 2005-04-21 11:48:10 UTC
  • Revision ID: james.westby@ubuntu.com-20050421114810-u7e0kdky1f12hzpj
Tags: 2.0.3
* remove symlinks build dependency from debian/control and rules;
  set urgency because this is a serious violation; closes: #301788
* update HTML ISO 15445; closes: #248675

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!--
 
2
        Microsoft Document Type Definition for Internet Explorer 3.0 HTML.
 
3
 
 
4
                Version: 0.9    Date: 11/7/96
 
5
 
 
6
                Author: Mark Buckley <mbuckley@microsoft.com>
 
7
 
 
8
                This markup is based as much as possible on the DTD for HTML 3.2 
 
9
                published by W3C (also known as the Wilbur DTD), dated 5/31/96.
 
10
-->
 
11
 
 
12
<!ENTITY % HTML.Version
 
13
        "-//Microsoft//DTD Internet Explorer 3.0 HTML//EN" >
 
14
 
 
15
<!--================== Deprecated Features Switch =========================-->
 
16
 
 
17
<!ENTITY % HTML.Recommended "IGNORE" >
 
18
 
 
19
<![ %HTML.Recommended [
 
20
        <!ENTITY % HTML.Deprecated "IGNORE">
 
21
]]>
 
22
 
 
23
<!ENTITY % HTML.Deprecated "INCLUDE">
 
24
 
 
25
<!--================== Imported Names =====================================-->
 
26
 
 
27
<!ENTITY % Content-Type "CDATA"
 
28
        -- meaning a MIME content type, as per RFC1521
 
29
        -->
 
30
 
 
31
<!ENTITY % HTTP-Method "GET | POST"
 
32
        -- as per HTTP specification
 
33
        -->
 
34
 
 
35
<!ENTITY % URL "CDATA"
 
36
        -- The term URL means a CDATA attribute
 
37
           whose value is a Uniform Resource Locator,
 
38
           See RFC1808 (June 95) and RFC1738 (Dec 94).
 
39
        -->
 
40
 
 
41
<!--========= Common attributes ============================================-->
 
42
 
 
43
<!ENTITY % attrs  -- common attributes. Taken from the HTML 3 DTD --
 
44
        'id     ID      #IMPLIED -- as target for hrefs (link ends) --
 
45
         lang   CDATA   "en.us"  -- ISO language, country code --
 
46
         class  NAMES   #IMPLIED -- for subclassing elements --
 
47
         style  CDATA   #IMPLIED'>
 
48
 
 
49
<!--========= Color attribute ============================================-->
 
50
 
 
51
<!ENTITY % color "CDATA" -- a color specification: #HHHHHH @@ details? -->
 
52
 
 
53
 
 
54
<!--================ Character mnemonic entities ==========================-->
 
55
 
 
56
<!ENTITY % ISOlat1 PUBLIC
 
57
       "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML">
 
58
%ISOlat1;
 
59
 
 
60
<!--================ Entities for special symbols =========================-->
 
61
<!-- &trade &shy and &cbsp are not widely deployed and so not included here -->
 
62
 
 
63
<!ENTITY copy   CDATA "&#169"   -- copyright sign     -->
 
64
<!ENTITY reg    CDATA "&#174"   -- registered sign    -->
 
65
<!ENTITY amp    CDATA "&#38;"   -- ampersand          -->
 
66
<!ENTITY gt     CDATA "&#62;"   -- greater than       -->
 
67
<!ENTITY lt     CDATA "&#60;"   -- less than          -->
 
68
<!ENTITY quot   CDATA "&#34;"   -- double quote       -->
 
69
<!ENTITY nbsp   CDATA "&#160;"  -- non breaking space -->
 
70
 
 
71
<!-- Parameter Entities -->
 
72
 
 
73
<!ENTITY % heading "H1|H2|H3|H4|H5|H6">
 
74
 
 
75
 
 
76
<!--=================== Text Content =======================================-->
 
77
 
 
78
<![ %HTML.Deprecated [
 
79
<!ENTITY % font "TT | I | B  | U | STRIKE | BIG | SMALL | SUB | SUP | FONT | S">
 
80
]]>
 
81
 
 
82
<!ENTITY % font "TT | I | B  | U | STRIKE | BIG | SMALL | SUB | SUP | FONT">
 
83
 
 
84
<![ %HTML.Deprecated [
 
85
        <!ENTITY % phrase "EM | STRONG | DFN |CODE | SAMP | KBD | VAR | CITE | ENTITY">
 
86
]]>
 
87
 
 
88
<!ENTITY % phrase "EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | SPAN">
 
89
 
 
90
<!ENTITY % break        "BR | NOBR | WBR" >
 
91
 
 
92
<!ENTITY % anchors "A" >
 
93
 
 
94
<![ %HTML.Deprecated [
 
95
<!ENTITY % mmobjects "IMG | APPLET | SCRIPT | NOSCRIPT | MAP | BGSOUND | MARQUEE | OBJECT | EMBED" >
 
96
]]>
 
97
 
 
98
<!ENTITY % mmobjects "IMG | APPLET | SCRIPT | NOSCRIPT | MAP | BGSOUND | MARQUEE | OBJECT" >
 
99
 
 
100
<!ENTITY % formitems "INPUT | SELECT | TEXTAREA">
 
101
 
 
102
<![ %HTML.Deprecated [
 
103
        <!ENTITY % text "#PCDATA | %font | %phrase | %break | %anchors | %mmobjects | %formitems">
 
104
]]>
 
105
 
 
106
<!ENTITY % text "#PCDATA | %font | %phrase | %break | %anchors | %mmobjects">
 
107
 
 
108
<!--=================== Flow Content =======================================-->
 
109
 
 
110
<!ENTITY % list "UL | OL | DL | DIR | MENU">
 
111
 
 
112
<![ %HTML.Deprecated [
 
113
    <!ENTITY % preformatted "PRE | XMP | LISTING | PLAINTEXT">
 
114
]]>
 
115
 
 
116
<!ENTITY % preformatted "PRE">
 
117
 
 
118
 
 
119
<![ %HTML.Deprecated [
 
120
<!ENTITY % block
 
121
     "P | %list | %preformatted | DIV | BLOCKQUOTE | FORM | ISINDEX | 
 
122
         HR | TABLE | IFRAME | CENTER">
 
123
]]>
 
124
 
 
125
<!ENTITY % block
 
126
     "P | %list | %preformatted | DIV | BLOCKQUOTE | FORM | ISINDEX | 
 
127
         HR | TABLE | IFRAME">
 
128
 
 
129
 
 
130
<![ %HTML.Deprecated [
 
131
<!ENTITY % mixed.content "(%heading|%text|%block|ADDRESS|BASEFONT)*" >
 
132
]]>
 
133
 
 
134
<!-- %flow is used for DD and LI -->
 
135
 
 
136
<![ %HTML.Deprecated [
 
137
<!ENTITY % flow "(%mixed.content)*">
 
138
]]>
 
139
 
 
140
<!ENTITY % flow "(%text | %block)*">
 
141
 
 
142
<![ %HTML.Deprecated [
 
143
<!ENTITY % font.content "(%mixed.content)*">
 
144
]]>
 
145
 
 
146
<!ENTITY % font.content "(%text)*">
 
147
 
 
148
 
 
149
<!-- Text Elements -->
 
150
 
 
151
<!ELEMENT (%font) - -  %font.content >
 
152
 
 
153
<!ATTLIST FONT
 
154
        %attrs;
 
155
    size    CDATA   #IMPLIED    -- [+]nn e.g. size="+1", size=4 --
 
156
    color   %color      #IMPLIED    -- #RRGGBB in hex, e.g. red: color="#FF0000" --
 
157
        face    CDATA   #IMPLIED
 
158
    >
 
159
 
 
160
<!ATTLIST (TT | I | B  | U | STRIKE | BIG | SMALL | SUB | SUP)
 
161
        %attrs;
 
162
    size    CDATA   #IMPLIED    -- [+]nn e.g. size="+1", size=4 --
 
163
    color   %color      #IMPLIED    -- #RRGGBB in hex, e.g. red: color="#FF0000" --
 
164
        face    CDATA   #IMPLIED
 
165
        >
 
166
 
 
167
<![ %HTML.Deprecated [
 
168
        <!ATTLIST S
 
169
                %attrs;
 
170
                >
 
171
]]>
 
172
 
 
173
<!ELEMENT (%phrase) - - (%text)*>
 
174
<!ATTLIST (%phrase)
 
175
        %attrs;
 
176
        >
 
177
 
 
178
<!ELEMENT (%break)    - O EMPTY   -- forced line break -->
 
179
 
 
180
<!ATTLIST BR
 
181
        %attrs;
 
182
        clear (left|all|right|none) none -- control of text flow --
 
183
        >
 
184
 
 
185
<!ATTLIST (NOBR | WBR)
 
186
        %attrs;
 
187
        >
 
188
 
 
189
<!--=================== Document Body =====================================-->
 
190
 
 
191
<![ %HTML.Recommended [
 
192
        <!ENTITY % body.content "(%heading|%block|%mmobjects|ADDRESS|BASEFONT)*" >
 
193
]]>
 
194
 
 
195
<![ %HTML.Deprecated [
 
196
<!ENTITY % body.content "%mixed.content" >
 
197
]]>
 
198
 
 
199
<!ENTITY % body-color-attrs "
 
200
    bgcolor %color #IMPLIED
 
201
    text %color #IMPLIED
 
202
    link %color #IMPLIED
 
203
    vlink %color #IMPLIED
 
204
    alink %color #IMPLIED
 
205
        ">
 
206
 
 
207
<!ELEMENT BODY O O  %body.content>
 
208
<!ATTLIST BODY
 
209
        %attrs;
 
210
    background          %URL    #IMPLIED  -- texture tile for document background --
 
211
    %body-color-attrs;          -- bgcolor, text, link, vlink, alink --
 
212
        bgproperties    CDATA   #IMPLIED
 
213
        leftmargin      NUMBER  #IMPLIED
 
214
        topmargin       NUMBER  #IMPLIED
 
215
        >
 
216
 
 
217
<![ %HTML.Deprecated [
 
218
        <!ENTITY % address.content "((%text;) | P | CENTER)*">
 
219
]]>
 
220
 
 
221
<!ENTITY % address.content "((%text;) | P )*">
 
222
 
 
223
<!ELEMENT ADDRESS - - %address.content>
 
224
<!ATTLIST  ADDRESS
 
225
        %attrs;
 
226
        >
 
227
 
 
228
<!ELEMENT DIV - - %body.content>
 
229
<!ATTLIST DIV
 
230
                %attrs
 
231
        align   (left|center|right) left -- alignment of following text --
 
232
        >
 
233
 
 
234
<![ %HTML.Deprecated [
 
235
        <!-- CENTER is a shorthand for DIV with ALIGN=CENTER -->
 
236
        <!ELEMENT center - - %mixed.content>
 
237
        <!ATTLIST center
 
238
                %attrs
 
239
                >
 
240
]]>
 
241
 
 
242
<!--================== The Anchor Element =================================-->
 
243
 
 
244
<!ELEMENT A - - (%text)* -(A)>
 
245
<!ATTLIST A
 
246
                %attrs
 
247
        name    CDATA   #IMPLIED    -- named link end --
 
248
        href    %URL    #IMPLIED    -- URL for linked resource --
 
249
        rel     CDATA   #IMPLIED    -- forward link types --
 
250
        rev     CDATA   #IMPLIED    -- reverse link types --
 
251
        title   CDATA   #IMPLIED    -- advisory title string --
 
252
                target  CDATA   #IMPLIED        -- frame target --
 
253
        >
 
254
 
 
255
<!--================== Client-side image maps ============================-->
 
256
 
 
257
<!-- These can be placed in the same document or grouped in a
 
258
     separate document although this isn't yet widely supported -->
 
259
 
 
260
<!ENTITY % SHAPE "(rect|rectangle|circ|circle|poly|polygon|default)">
 
261
<!ENTITY % COORDS "CDATA" -- comma separated list of numbers -->
 
262
 
 
263
<!ELEMENT MAP - - (AREA)*>
 
264
<!ATTLIST MAP
 
265
    name    CDATA   #IMPLIED
 
266
    >
 
267
 
 
268
<!ELEMENT AREA - O EMPTY>
 
269
<!ATTLIST AREA
 
270
        %attrs
 
271
    shape   %SHAPE  rect
 
272
    coords  %COORDS #IMPLIED  -- always needed except for shape=default --
 
273
    href    %URL    #IMPLIED  -- this region acts as hypertext link --
 
274
    nohref (nohref) #IMPLIED  -- this region has no action --
 
275
    alt     CDATA   #IMPLIED
 
276
        target  CDATA   #IMPLIED
 
277
    >
 
278
 
 
279
<!--================== The LINK Element ==================================-->
 
280
 
 
281
<!ENTITY % Types "CDATA"
 
282
        -- See Internet Draft: draft-ietf-html-relrev-00.txt
 
283
           LINK has been part of HTML since the early days
 
284
           although few browsers as yet take advantage of it.
 
285
 
 
286
           Relationship values can be used in principle:
 
287
 
 
288
                a) for document specific toolbars/menus when used
 
289
                   with the LINK element in document head:
 
290
                b) to link to a separate style sheet (rel=stylesheet)
 
291
                c) to make a link to a script (rel=script)
 
292
                d) by stylesheets to control how collections of
 
293
                   html nodes are rendered into printed documents
 
294
                e) to make a link to a printable version of this document
 
295
                   e.g. a postscript or pdf version (rel=print)
 
296
-->
 
297
 
 
298
<!ELEMENT LINK - O EMPTY>
 
299
<!ATTLIST LINK
 
300
        %attrs;
 
301
    href    %URL    #IMPLIED    -- URL for linked resource --
 
302
    rel     %Types  #IMPLIED    -- forward link types --
 
303
    rev     %Types  #IMPLIED    -- reverse link types --
 
304
    title   CDATA   #IMPLIED    -- advisory title string --
 
305
        >
 
306
 
 
307
<!--=================== Images ============================================-->
 
308
 
 
309
<!ENTITY % Length "CDATA" -- nn for pixels or nn% for percentage length -->
 
310
<!ENTITY % Pixels "CDATA" -- integer representing length in pixels -->
 
311
 
 
312
<!-- Suggested widths are used for negotiating image size
 
313
     with the module responsible for painting the image.
 
314
     align=left or right cause image to float to margin
 
315
     and for subsequent text to wrap around image -->
 
316
 
 
317
<!ENTITY % IAlign "(top|middle|bottom|left|right)">
 
318
 
 
319
<!ELEMENT IMG    - O EMPTY --  Embedded image -->
 
320
<!ATTLIST IMG
 
321
        %attrs;
 
322
    src         %URL     #REQUIRED  -- URL of image to embed --
 
323
    alt         CDATA    #IMPLIED   -- for display in place of image --
 
324
    align       %IAlign  #IMPLIED   -- vertical or horizontal alignment --
 
325
    height      %Pixels  #IMPLIED   -- suggested height in pixels --
 
326
    width       %Pixels  #IMPLIED   -- suggested width in pixels --
 
327
    border      %Pixels  #IMPLIED   -- suggested link border width --
 
328
    hspace      %Pixels  #IMPLIED   -- suggested horizontal gutter --
 
329
    vspace      %Pixels  #IMPLIED   -- suggested vertical gutter --
 
330
    usemap      %URL     #IMPLIED   -- use client-side image map --
 
331
    ismap       (ismap)  #IMPLIED   -- use server image map --
 
332
    dynsrc      %URL     #IMPLIED  -- URL of image to embed --
 
333
        start   NAMES   #IMPLIED
 
334
        loop    NMTOKEN #IMPLIED
 
335
        controls        (controls)      #IMPLIED
 
336
        vrml    CDATA   #IMPLIED
 
337
    >
 
338
 
 
339
<!-- USEMAP points to a MAP element which may be in this document
 
340
  or an external document, although the latter is not widely supported -->
 
341
 
 
342
<!--=================== Java APPLET tag ===================================-->
 
343
<!--
 
344
  This tag is supported by all java enabled browsers. Applet resources
 
345
  (including their classes) are normally loaded relative to the document
 
346
  URL (or <BASE> element if it is defined). The CODEBASE attribute is used
 
347
  to change this default behavior. If the CODEBASE attribute is defined then
 
348
  it specifies a different location to find applet resources. The value
 
349
  can be an absolute URL or a relative URL. The absolute URL is used as is
 
350
  without modification and is not effected by the documents <BASE> element.
 
351
  When the codebase attribute is relative, then it is relative to the
 
352
  document URL (or <BASE> tag if defined). <TEXTFLOW> avoids the problems
 
353
  with SGML mixed content. It can always be omitted *except* when the APPLET
 
354
  element hasn't any content. White space, comments and PARAM elements
 
355
  don't count as content for this purpose. TEXTFLOW was introduced into
 
356
  the DTD to satisfy SGML parsers, but is ignored by current Web browsers.
 
357
-->
 
358
<!ELEMENT APPLET - - (PARAM*, TEXTFLOW)>
 
359
<!ATTLIST APPLET
 
360
                %attrs
 
361
        codebase %URL     #IMPLIED   -- code base --
 
362
        code     CDATA    #REQUIRED  -- class file --
 
363
        name     CDATA    #IMPLIED   -- applet name --
 
364
        alt      CDATA    #IMPLIED   -- for display in place of applet --
 
365
        align    %IAlign  #IMPLIED   -- vertical or horizontal alignment --
 
366
        height   %Pixels  #REQUIRED  -- suggested height in pixels --
 
367
        width    %Pixels  #REQUIRED  -- suggested width in pixels --
 
368
        hspace   %Pixels  #IMPLIED   -- suggested horizontal gutter --
 
369
        vspace   %Pixels  #IMPLIED   -- suggested vertical gutter --
 
370
                border  NUMBER  #IMPLIED
 
371
        >
 
372
 
 
373
 
 
374
<!ELEMENT TEXTFLOW O O (%text)* -- needed to bypass mixed content model -->
 
375
 
 
376
<!--
 
377
Here is an example:
 
378
 
 
379
    <applet codebase="applets/NervousText"
 
380
        code=NervousText.class
 
381
        width=300
 
382
        height=50>
 
383
    <param name=text value="Java is Cool!">
 
384
    <img src=sorry.gif alt="This looks better with Java support">
 
385
    </applet>
 
386
-->
 
387
 
 
388
<!--=================== Horizontal Rule ===================================-->
 
389
 
 
390
<!ELEMENT HR    - O EMPTY>
 
391
<!ATTLIST HR
 
392
        %attrs;
 
393
    align (left|right|center) #IMPLIED
 
394
    noshade (noshade) #IMPLIED
 
395
    size        %Pixels #IMPLIED
 
396
    width       %Length #IMPLIED
 
397
        color   %color  #IMPLIED
 
398
    >
 
399
 
 
400
<!--=================== Paragraphs=========================================-->
 
401
 
 
402
<![ %HTML.Deprecated [
 
403
        <!ENTITY % P.content    "(%text|CENTER)*" >
 
404
]]>
 
405
 
 
406
<!ENTITY % P.content    "(%text)*" >
 
407
 
 
408
<!ELEMENT P     - O %P.content >
 
409
<!ATTLIST P
 
410
        %attrs;
 
411
    align  (left|center|right) #IMPLIED
 
412
    >
 
413
 
 
414
 
 
415
<!--=================== Base Font =========================================-->
 
416
 
 
417
<!ELEMENT BASEFONT      - O EMPTY>
 
418
<!ATTLIST BASEFONT
 
419
        %attrs;
 
420
        size    NUMBER  #IMPLIED
 
421
        color   %color  #IMPLIED
 
422
        face    CDATA   #IMPLIED
 
423
        >
 
424
 
 
425
<!--=================== Background Sound =================================-->
 
426
 
 
427
<!ELEMENT BGSOUND  - O EMPTY>
 
428
<!ATTLIST BGSOUND
 
429
        %attrs;
 
430
        src             %URL    #IMPLIED
 
431
        loop    NMTOKEN #IMPLIED
 
432
        start   CDATA   #IMPLIED
 
433
        >
 
434
 
 
435
<!--=================== Marquee =========================================-->
 
436
 
 
437
<!ELEMENT MARQUEE  - O (%text)*>
 
438
<!ATTLIST MARQUEE
 
439
        %attrs;
 
440
        align (top|middle|bottom) top
 
441
        behavior        (scroll|slide|alternate)        SCROLL
 
442
        bgcolor %color  #IMPLIED
 
443
        direction       (left|right)    LEFT
 
444
        height  CDATA   #IMPLIED
 
445
        hspace  NUMBER  #IMPLIED
 
446
        loop    CDATA   #IMPLIED
 
447
        scrollamount    NUMBER  #IMPLIED
 
448
        scrolldelay     NUMBER  #IMPLIED
 
449
        vspace  NUMBER  #IMPLIED
 
450
        width   CDATA   #IMPLIED
 
451
        border  NUMBER  #IMPLIED
 
452
    background  %URL    #IMPLIED  -- texture tile for document background --
 
453
        >
 
454
 
 
455
<!--=================== Headings ==========================================-->
 
456
 
 
457
<!--
 
458
  There are six levels of headers from H1 (the most important)
 
459
  to H6 (the least important).
 
460
-->
 
461
 
 
462
<!ELEMENT ( %heading )  - -  %P.content >
 
463
<!ATTLIST ( %heading )
 
464
                %attrs
 
465
        align  (left|center|right) #IMPLIED
 
466
        >
 
467
 
 
468
<!--=================== Preformatted Text =================================-->
 
469
 
 
470
<!-- excludes images and changes in font size -->
 
471
 
 
472
<!ENTITY % pre.exclusion "IMG|BIG|SMALL|SUB|SUP|FONT">
 
473
 
 
474
<!ELEMENT PRE - - (%text)* -(%pre.exclusion)>
 
475
<!ATTLIST PRE
 
476
        %attrs;
 
477
        width NUMBER #implied
 
478
        >
 
479
 
 
480
<![ %HTML.Deprecated [
 
481
 
 
482
<!ENTITY % literal "CDATA"
 
483
        -- historical, non-conforming parsing mode where
 
484
           the only markup signal is the end tag
 
485
           in full
 
486
        -->
 
487
 
 
488
<!ELEMENT (XMP|LISTING) - -  %literal>
 
489
<!ELEMENT PLAINTEXT - O %literal>
 
490
 
 
491
<!ATTLIST (XMP|LISTING|PLAINTEXT)
 
492
        %attrs;
 
493
        >
 
494
 
 
495
]]>
 
496
 
 
497
<!--=================== Block-like Quotes =================================-->
 
498
 
 
499
<!ELEMENT BLOCKQUOTE - - %body.content>
 
500
<!ATTLIST BLOCKQUOTE
 
501
        %attrs;
 
502
        >
 
503
 
 
504
<!--=================== Lists =============================================-->
 
505
 
 
506
<!--
 
507
    HTML 3.2 allows you to control the sequence number for ordered lists.
 
508
    You can set the sequence number with the START and VALUE attributes.
 
509
    The TYPE attribute may be used to specify the rendering of ordered
 
510
    and unordered lists.
 
511
-->
 
512
 
 
513
<!-- definition lists - DT for term, DD for its definition -->
 
514
 
 
515
<!ELEMENT DL    - -  (DT|DD)*>
 
516
<!ATTLIST DL
 
517
        %attrs;
 
518
        compact (compact) #IMPLIED -- more compact style --
 
519
        >
 
520
 
 
521
<!ELEMENT DT - O  (%text)*>
 
522
<!ATTLIST DT
 
523
        %attrs;
 
524
        >
 
525
 
 
526
<!ELEMENT DD - O  %flow;>
 
527
<!ATTLIST DD
 
528
        %attrs;
 
529
        >
 
530
 
 
531
<!-- Ordered lists OL, and unordered lists UL -->
 
532
<!ELEMENT (OL|UL) - -  (LI)*>
 
533
 
 
534
<!--
 
535
       Numbering style
 
536
    1   arabic numbers      1, 2, 3, ...
 
537
    a   lower alpha         a, b, c, ...
 
538
    A   upper alpha         A, B, C, ...
 
539
    i   lower roman         i, ii, iii, ...
 
540
    I   upper roman         I, II, III, ...
 
541
 
 
542
    The style is applied to the sequence number which by default
 
543
    is reset to 1 for the first list item in an ordered list.
 
544
 
 
545
    This can't be expressed directly in SGML due to case folding.
 
546
-->
 
547
 
 
548
<!ENTITY % OLStyle "CDATA" -- constrained to: [1|a|A|i|I] -->
 
549
 
 
550
<!ATTLIST OL -- ordered lists --
 
551
        %attrs;
 
552
    type      %OLStyle   #IMPLIED   -- numbering style --
 
553
    start     NUMBER     #IMPLIED   -- starting sequence number --
 
554
    compact  (compact)   #IMPLIED   -- reduced interitem spacing --
 
555
        >
 
556
 
 
557
<!-- bullet styles -->
 
558
 
 
559
<!ENTITY % ULStyle "disc|square|circle">
 
560
 
 
561
<!ATTLIST UL -- unordered lists --
 
562
        %attrs;
 
563
    type    (%ULStyle)   #IMPLIED   -- bullet style --
 
564
    compact (compact)    #IMPLIED   -- reduced interitem spacing --
 
565
    >
 
566
 
 
567
<!ELEMENT (DIR|MENU) - -  (LI)* -(%block)>
 
568
<!ATTLIST (DIR|MENU)
 
569
        %attrs;
 
570
    compact (compact) #IMPLIED
 
571
    >
 
572
 
 
573
<!-- The type attribute can be used to change the bullet style
 
574
     in unordered lists and the numbering style in ordered lists -->
 
575
 
 
576
<!ENTITY % LIStyle "CDATA" -- constrained to: "(%ULStyle|%OLStyle)" -->
 
577
 
 
578
<!ELEMENT LI - O %flow -- list item -->
 
579
<!ATTLIST LI
 
580
        %attrs;
 
581
    type    %LIStyle     #IMPLIED   -- list item style --
 
582
    value    NUMBER      #IMPLIED   -- reset sequence number --
 
583
    >
 
584
 
 
585
<!--================ Forms ===============================================-->
 
586
 
 
587
<!ELEMENT FORM - - %body.content -(FORM) +(%formitems)>
 
588
<!ATTLIST FORM
 
589
        %attrs;
 
590
    action %URL #REQUIRED -- server-side form handler --
 
591
    method (%HTTP-Method) GET -- see HTTP specification --
 
592
    enctype %Content-Type; "application/x-www-form-urlencoded"
 
593
        name    CDATA   #IMPLIED
 
594
        target  CDATA   #IMPLIED
 
595
        >
 
596
 
 
597
<!ENTITY % InputType
 
598
        "(TEXT | TEXTAREA | PASSWORD | CHECKBOX | RADIO | SUBMIT
 
599
            | RESET | FILE | HIDDEN | IMAGE)">
 
600
 
 
601
<!ELEMENT INPUT - O EMPTY>
 
602
<!ATTLIST INPUT
 
603
        %attrs;
 
604
    type %InputType TEXT     -- what kind of widget is needed --
 
605
    name  CDATA #IMPLIED     -- required for all but submit and reset --
 
606
    value CDATA #IMPLIED     -- required for radio and checkboxes --
 
607
        checked (checked|true|false) #IMPLIED -- for radio buttons and check boxes --
 
608
    size CDATA  #IMPLIED     -- specific to each type of field --
 
609
    maxlength NUMBER #IMPLIED
 
610
    src   %URL  #IMPLIED     -- for fields with background images --
 
611
    align  (top|middle|bottom|left|right) top -- image alignment --
 
612
    >
 
613
 
 
614
<!ELEMENT SELECT - - (OPTION+)>
 
615
<!ATTLIST SELECT
 
616
        %attrs;
 
617
    name CDATA #REQUIRED
 
618
    size NUMBER #IMPLIED
 
619
    multiple (multiple) #IMPLIED
 
620
    >
 
621
 
 
622
<!ELEMENT OPTION - O (#PCDATA)*>
 
623
<!ATTLIST OPTION
 
624
        %attrs;
 
625
    selected (selected) #IMPLIED
 
626
    value  CDATA  #IMPLIED -- defaults to element content --
 
627
    >
 
628
 
 
629
<!-- Multi-line text input field. -->
 
630
 
 
631
<!ELEMENT TEXTAREA - - (#PCDATA)* -(INPUT|SELECT|TEXTAREA)>
 
632
<!ATTLIST TEXTAREA
 
633
        %attrs;
 
634
    name CDATA #REQUIRED
 
635
    rows NUMBER #REQUIRED
 
636
    cols NUMBER #REQUIRED
 
637
    >
 
638
 
 
639
<!--======================= Tables ========================================-->
 
640
 
 
641
<!-- Invoke TABLES DTD  -->
 
642
<!ENTITY % ietables PUBLIC "-//Microsoft//DTD Internet Explorer 3.0 Tables//EN" >
 
643
%ietables;
 
644
 
 
645
<!--================ Document Head ========================================-->
 
646
 
 
647
<!ENTITY % head.misc "SCRIPT|STYLE|META|LINK|BGSOUND" -- repeatable head elements -->
 
648
 
 
649
<![ %HTML.Deprecated [
 
650
        <!ENTITY % head.content "TITLE & ISINDEX? & BASE? & NEXTID?">
 
651
]]>
 
652
 
 
653
<!ENTITY % head.content "TITLE & ISINDEX? & BASE?">
 
654
 
 
655
<!ELEMENT HEAD O O  (%head.content) +(%head.misc)>
 
656
 
 
657
<!ELEMENT TITLE - -  (#PCDATA)* -(%head.misc)
 
658
          -- The TITLE element is not considered part of the flow of text.
 
659
             It should be displayed, for example as the page header or
 
660
             window title.
 
661
          -->
 
662
 
 
663
<!ELEMENT ISINDEX - O EMPTY>
 
664
<!ATTLIST ISINDEX
 
665
        %attrs
 
666
    prompt      CDATA   #IMPLIED -- prompt message --
 
667
        action  CDATA   #IMPLIED >
 
668
 
 
669
<!--
 
670
    The BASE element gives an absolute URL for dereferencing relative
 
671
    URLs, e.g.
 
672
 
 
673
         <BASE href="http://foo.com/index.html">
 
674
         ...
 
675
         <IMG SRC="images/bar.gif">
 
676
 
 
677
    The image is deferenced to
 
678
 
 
679
         http://foo.com/images/bar.gif
 
680
 
 
681
   In the absence of a BASE element the document URL should be used.
 
682
   Note that this is not necessarily the same as the URL used to
 
683
   request the document, as the base URL may be overridden by an HTTP
 
684
   header accompanying the document.
 
685
-->
 
686
 
 
687
<!ELEMENT BASE - O EMPTY>
 
688
<!ATTLIST BASE
 
689
        href %URL  #REQUIRED
 
690
                target  CDATA   #IMPLIED
 
691
        >
 
692
 
 
693
<![ %HTML.Deprecated [
 
694
        <!ELEMENT NEXTID - O EMPTY>
 
695
        <!ATTLIST NEXTID
 
696
                N       CDATA #REQUIRED >
 
697
]]>
 
698
 
 
699
<!ELEMENT META - O EMPTY -- Generic Metainformation -->
 
700
<!ATTLIST META
 
701
        http-equiv  NAME    #IMPLIED  -- HTTP response header name  --
 
702
        name        NAME    #IMPLIED  -- metainformation name       --
 
703
        content     CDATA   #REQUIRED -- associated information     --
 
704
                charset         CDATA   #IMPLIED
 
705
        >
 
706
 
 
707
<!-- SCRIPT/STYLE are place holders for transition to next version of HTML -->
 
708
 
 
709
<!ELEMENT STYLE  - - (#PCDATA)*  -(%head.misc) -- style info -->
 
710
<!ATTLIST STYLE
 
711
        type            CDATA   #IMPLIED
 
712
        title           CDATA   #IMPLIED   >
 
713
 
 
714
<!-- Script markup taken from WD-script-960208 found at
 
715
     http://www.w3.org/pub/WWW/TR/WD-script.html -->
 
716
 
 
717
<!-- SCRIPT is a character-like element for embedding script code
 
718
      that can be placed anywhere in the document HEAD or BODY -->
 
719
 
 
720
<!ENTITY % Event "CDATA" -- event name and optional param list -->
 
721
 
 
722
<!ELEMENT SCRIPT        - - (#PCDATA)*   -(%head.misc)>
 
723
<!ATTLIST SCRIPT
 
724
        %attrs;
 
725
    type         CDATA    #IMPLIED -- script language media type --
 
726
    language     CDATA    #IMPLIED -- predefined script language name --
 
727
    src          %URL     #IMPLIED -- URL for an external script --
 
728
    name             CDATA    #IMPLIED
 
729
        >
 
730
 
 
731
<!ELEMENT NOSCRIPT - - (%body.content)>
 
732
<!ATTLIST NOSCRIPT
 
733
        %attrs;
 
734
        >
 
735
 
 
736
<!--================ Document Structure ===================================-->
 
737
 
 
738
<!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'">
 
739
 
 
740
<!ELEMENT HTML O O  (HEAD, (BODY|FRAMESET) )>
 
741
<!ATTLIST HTML
 
742
                %attrs
 
743
        %version.attr
 
744
        >
 
745
 
 
746
<!-- Frames -->
 
747
 
 
748
<!ELEMENT FRAMESET      - -     (FRAMESET|FRAME|NOFRAMES)+ >
 
749
<!ATTLIST FRAMESET
 
750
        %attrs;
 
751
        layout  (TILES|PAGES)   TILES
 
752
        rows    CDATA   #IMPLIED
 
753
        cols    CDATA   #IMPLIED
 
754
        framespacing    CDATA   #IMPLIED
 
755
        frameborder     NUMBER  #IMPLIED
 
756
        >
 
757
 
 
758
<!ELEMENT FRAME - O     EMPTY >
 
759
<!ATTLIST FRAME
 
760
        %attrs;
 
761
        src             CDATA   #REQUIRED
 
762
        name    CDATA   #IMPLIED
 
763
        height  NUMBER  #IMPLIED
 
764
        hspace  NUMBER  #IMPLIED
 
765
        width   NUMBER  #IMPLIED
 
766
        vspace  NUMBER  #IMPLIED
 
767
        marginwidth     NUMBER #IMPLIED -- check this --
 
768
        marginheight    NUMBER #IMPLIED -- check this --
 
769
        frameborder     CDATA   #IMPLIED        -- need to check with IE --
 
770
        framespacing    NUMBER  #IMPLIED
 
771
        scrolling       (YES|NO|AUTO)   AUTO
 
772
        noresize        (NORESIZE)      #IMPLIED
 
773
        align   (LEFT|CENTER|RIGHT|TOP|TEXTTOP|MIDDLE|ABSMIDDLE|
 
774
                BASELINE|BOTTOM|ABSBOTTOM)      #IMPLIED
 
775
        >
 
776
 
 
777
<!ELEMENT IFRAME        - O     EMPTY >
 
778
<!ATTLIST IFRAME
 
779
        %attrs;
 
780
        src             CDATA   #REQUIRED
 
781
        name    CDATA   #IMPLIED
 
782
        marginwidth     NUMBER #IMPLIED
 
783
        marginheight    NUMBER #IMPLIED
 
784
        border  CDATA   #IMPLIED
 
785
        frameborder     CDATA   #IMPLIED
 
786
        framespacing    NUMBER  #IMPLIED
 
787
        scrolling       (YES|NO|AUTO)   AUTO
 
788
        noresize        (NORESIZE)      #IMPLIED
 
789
        align   (LEFT|CENTER|RIGHT|TOP|MIDDLE|BOTTOM)   #IMPLIED
 
790
        >
 
791
 
 
792
<!ELEMENT NOFRAMES      - -     %body.content >
 
793
 
 
794
<!-- Objects 
 
795
 
 
796
Adapted from 
 
797
WD-object-960422: Inserting objects into HTM
 
798
http://www.w3.org/pub/WWW/TR/WD-object.html 
 
799
5/9/96 
 
800
 
 
801
-->
 
802
 
 
803
<!ENTITY % OAlign "(texttop|middle|textmiddle|baseline|
 
804
                            textbottom|left|center|right)">
 
805
 
 
806
<!-- OBJECT is a character-like element for inserting objects -->
 
807
<!ELEMENT OBJECT - - (PARAM | %body.content;)*>
 
808
<!ATTLIST OBJECT
 
809
        %attrs      -- id, class, style, lang, dir --
 
810
        declare (declare) #IMPLIED  -- declare but don't instantiate flag --
 
811
        classid %URL     #IMPLIED   -- identifies an implementation --
 
812
        codebase %URL    #IMPLIED   -- some systems need an additional URL --
 
813
        data    %URL     #IMPLIED   -- reference to object's data --
 
814
        type    CDATA    #IMPLIED   -- Internet media type for data --
 
815
        codetype CDATA   #IMPLIED   -- Internet media type for code --
 
816
        standby CDATA    #IMPLIED   -- message to show while loading --
 
817
        align   %OAlign #IMPLIED   -- positioning inside document --
 
818
        height  %Length  #IMPLIED   -- suggested height --
 
819
        width   %Length  #IMPLIED   -- suggested width --
 
820
        border  %Length  #IMPLIED   -- suggested link border width --
 
821
        hspace  %Length  #IMPLIED   -- suggested horizontal gutter --
 
822
        vspace  %Length  #IMPLIED   -- suggested vertical gutter --
 
823
                ismap   (ismap)  #IMPLIED   -- use server image map --
 
824
        usemap  %URL     #IMPLIED   -- reference to image map --
 
825
        shapes  (shapes) #IMPLIED   -- object has shaped hypertext links --
 
826
        name    %URL     #IMPLIED   -- submit as part of form --
 
827
        >
 
828
 
 
829
<!ELEMENT PARAM - O EMPTY -- named property value -->
 
830
<!ATTLIST PARAM
 
831
        name      CDATA             #REQUIRED  -- property name --
 
832
        value     CDATA             #IMPLIED   -- property value --
 
833
        valuetype (DATA|REF|OBJECT) DATA       -- How to interpret value --
 
834
        type      CDATA             #IMPLIED   -- Internet media type --
 
835
        >
 
836
 
 
837
<![ %HTML.Deprecated [
 
838
 
 
839
<!ELEMENT EMBED - - (NOEMBED | %body.content;)* >
 
840
<!ATTLIST EMBED
 
841
        %attrs;
 
842
    name        CDATA   #IMPLIED
 
843
        height  CDATA   #IMPLIED
 
844
        width   CDATA   #IMPLIED
 
845
        param   CDATA   #IMPLIED
 
846
    src         %URL    #REQUIRED  -- URL of image to embed --
 
847
                >
 
848
 
 
849
<!ELEMENT NOEMBED       - -     EMPTY>
 
850
 
 
851
]]>
 
852
 
 
853