1 |
INTERNET DRAFT November 28, 1994 |
2 |
Expires in six months |
3 |
|
4 |
|
5 |
HyperText Markup Language Specification - 2.0 |
6 |
<draft-ietf-html-spec-00.txt> |
7 |
|
8 |
STATUS OF THIS MEMO |
9 |
|
10 |
This document is an Internet draft. Internet drafts are |
11 |
working documents of the Internet Engineering Task Force |
12 |
(IETF), its areas, and its working groups. Note that |
13 |
other groups may also distribute working documents as |
14 |
Internet drafts. |
15 |
|
16 |
Internet drafts are draft documents valid for a maximum |
17 |
of six months and may be updated, replaced, or obsoleted |
18 |
by other documents at any time. It is inappropriate to |
19 |
use Internet drafts as reference material or to cite |
20 |
them other than as "work in progress." |
21 |
|
22 |
To learn the current status of any Internet-Draft, |
23 |
please check the "1id-abstracts.txt" listing contained |
24 |
in the Internet- Drafts Shadow Directories on |
25 |
ftp.is.co.za (Africa), nic.nordu.net (Europe), |
26 |
munnari.oz.au (Pacific Rim), ds.internic.net (US East |
27 |
Coast), or ftp.isi.edu (US West Coast). |
28 |
|
29 |
Distribution of this document is unlimited. Please send |
30 |
comments to the HTML working group (HTML-WG) of the |
31 |
Internet Engineering Task Force (IETF) at <html- |
32 |
wg@oclc.org>. Discussions of the group are archived at |
33 |
URL: http://www.acl.lanl.gov/HTML_WG/archives.html. |
34 |
|
35 |
Abstract |
36 |
|
37 |
The HyperText Markup Language (HTML) is a simple markup |
38 |
language used to create hypertext documents that are |
39 |
portable from one platform to another. HTML documents |
40 |
are SGML documents with generic semantics that are |
41 |
appropriate for representing information from a wide |
42 |
range of applications. HTML markup can represent |
43 |
hypertext news, mail, documentation, and hypermedia; |
44 |
menus of options; database query results; simple |
45 |
structured documents with in-lined graphics; and |
46 |
hypertext views of existing bodies of information. |
47 |
|
48 |
HTML has been in use by the World Wide Web (WWW) global |
49 |
information initiative since 1990. This specification |
50 |
corresponds to the legitimate capabilities of HTML in |
51 |
common use prior to June 1994. It is defined as an |
52 |
application of ISO Standard 8879:1986 Information |
53 |
Processing Text and Office Systems; Standard Generalized |
54 |
Markup Language (SGML). This specificiation is proposed |
55 |
as the Internet Media Type (RFC 1590) and MIME Content |
56 |
|
57 |
Berners-Lee, Connolly, et. al. Page 1 |
58 |
|
59 |
HTML 2.0 November 28, 1994 |
60 |
|
61 |
|
62 |
Type (RFC 1521) called "text/html", or "text/html; |
63 |
version=2.0". |
64 |
|
65 |
Contents |
66 |
|
67 |
Overview of HTML Specification........................ 1 |
68 |
|
69 |
HTML Specification.................................... 10 |
70 |
|
71 |
Security Considerations............................... 52 |
72 |
|
73 |
Obsolete and Proposed Features........................ 52 |
74 |
|
75 |
HTML Document Type Definitions........................ 55 |
76 |
|
77 |
DTD Element References................................ 71 |
78 |
|
79 |
Glossary.............................................. 89 |
80 |
|
81 |
References............................................ 92 |
82 |
|
83 |
Acknowledgments....................................... 93 |
84 |
|
85 |
Author's Addresses.................................... 95 |
86 |
|
87 |
|
88 |
1. Overview of HTML Specification |
89 |
|
90 |
This chapter is a summary of the HTML specification. See |
91 |
Section 2. for the complete specification. |
92 |
|
93 |
HTML describes the structure and organization of a |
94 |
document. It only suggests appropriate presentations of |
95 |
the document when processed. |
96 |
|
97 |
In HTML documents, tags define the start and end of |
98 |
headings, paragraphs, lists, character highlighting and |
99 |
links. Most HTML elements are identified in a document |
100 |
as a start tag, which gives the element name and |
101 |
attributes, followed by the content, followed by the end |
102 |
tag. Start tags are delimited by < and >, and end tags |
103 |
are delimited by </ and >. |
104 |
|
105 |
Example: |
106 |
|
107 |
<H1>This is a heading</H1> |
108 |
|
109 |
Every HTML document starts with a HTML document |
110 |
identifier which contains two sections, a head and a |
111 |
body. The head contains HTML elements which describe the |
112 |
|
113 |
Berners-Lee, Connolly, et. al. Page 2 |
114 |
|
115 |
HTML 2.0 November 28, 1994 |
116 |
|
117 |
|
118 |
documents title, usage and relationship with other |
119 |
documents. The body contains other HTML elements with |
120 |
the entire text and graphics of the document. |
121 |
|
122 |
This overview briefly describes the syntax of HTML |
123 |
elements and provides an example HTML document. |
124 |
|
125 |
NOTE: The term "HTML user agent" is used in this |
126 |
document to describe applications that are used with |
127 |
HTML documents. |
128 |
|
129 |
1.1 HTML Elements |
130 |
|
131 |
1.1.1 Document Structure Elements |
132 |
|
133 |
HTML Identifier |
134 |
|
135 |
<HTML> ... </HTML> |
136 |
|
137 |
The HTML identifier defines the document as containing |
138 |
HTML elements. It contains only the Head and Body |
139 |
elements. |
140 |
|
141 |
Head |
142 |
|
143 |
<HEAD> ... </HEAD> |
144 |
|
145 |
The Head element contains HTML elements that describe |
146 |
the documents title, usage and relationship with other |
147 |
documents. |
148 |
|
149 |
Body |
150 |
|
151 |
<BODY> ... </BODY> |
152 |
|
153 |
The Body element contains the text and its associated |
154 |
HTML elements of the document. |
155 |
|
156 |
Example of Document Structure Elements |
157 |
|
158 |
<HTML> |
159 |
<HEAD> |
160 |
<TITLE>The Document's Title</TITLE> |
161 |
</HEAD> |
162 |
<BODY> |
163 |
The document's text. |
164 |
</BODY> |
165 |
|
166 |
1.1.2 Anchor Element |
167 |
|
168 |
|
169 |
Berners-Lee, Connolly, et. al. Page 3 |
170 |
|
171 |
HTML 2.0 November 28, 1994 |
172 |
|
173 |
|
174 |
Anchor |
175 |
|
176 |
<A> ... </A> |
177 |
|
178 |
An anchor specifies a link to another location (<A |
179 |
HREF>) or the value to use when linking to this location |
180 |
from another location (<A NAME>): |
181 |
|
182 |
See <A HREF="http://www.hal.com/">HaL</A>'s |
183 |
information for more details. |
184 |
|
185 |
<A NAME="B">Section B</A> describes... |
186 |
... |
187 |
See <A HREF="#B">Section B</A> for more information. |
188 |
|
189 |
1.1.3 Block Formatting Elements |
190 |
|
191 |
Address |
192 |
|
193 |
<ADDRESS> ... </ADDRESS> |
194 |
|
195 |
<ADDRESS> |
196 |
Newsletter editor<BR> |
197 |
J.R. Brown<BR> |
198 |
JimquickPost News, Jumquick, CT 01234<BR> |
199 |
Tel (123) 456 7890 |
200 |
</ADDRESS> |
201 |
|
202 |
Body |
203 |
|
204 |
<BODY> ... </BODY> |
205 |
|
206 |
Place the <BODY> and </BODY> tags above and below the |
207 |
body of the text (not including the head) of your HTML |
208 |
document. |
209 |
|
210 |
Blockquote |
211 |
|
212 |
<BLOCKQUOTE>... </BLOCKQUOTE> |
213 |
I think it ends |
214 |
<BLOCKQUOTE> |
215 |
<P>Soft you now, the fair Ophelia. Nymph, in thy |
216 |
orisons, |
217 |
be all my sins remembered. |
218 |
</BLOCKQUOTE> |
219 |
but I am not sure. |
220 |
|
221 |
Head |
222 |
|
223 |
<HEAD> ... </HEAD> |
224 |
|
225 |
Berners-Lee, Connolly, et. al. Page 4 |
226 |
|
227 |
HTML 2.0 November 28, 1994 |
228 |
|
229 |
|
230 |
|
231 |
Every HTML document must have a head, which provides a |
232 |
title. Example: |
233 |
|
234 |
<HTML> |
235 |
<HEAD> |
236 |
<TITLE>Introduction to HTML</TITLE> |
237 |
</HEAD> |
238 |
|
239 |
Headings |
240 |
|
241 |
<H1>This is a first level heading</H1> |
242 |
<P>There are six levels of headings. |
243 |
<H2>Second level heading</H2> |
244 |
<P>This text appears under the second level heading |
245 |
|
246 |
Horizontal Rule |
247 |
|
248 |
<HR> |
249 |
|
250 |
Inserts a horizontal rule that spans the width of the |
251 |
document. Example: |
252 |
|
253 |
<HR> |
254 |
<ADDRESS>November 28, 1994, CERN</ADDRESS> |
255 |
</BODY> |
256 |
|
257 |
HTML Identifier |
258 |
|
259 |
<HTML> ... </HTML> |
260 |
|
261 |
An HTML document begins with an <HTML> tag and ends with |
262 |
the </HTML> tag. |
263 |
|
264 |
Line Break |
265 |
|
266 |
<BR> |
267 |
|
268 |
Forces a line break: |
269 |
|
270 |
Name<BR> |
271 |
Street address<BR> |
272 |
City, State Zip |
273 |
|
274 |
Paragraph |
275 |
|
276 |
<P> ... </P> |
277 |
|
278 |
<H1>This Heading Precedes the Paragraph</H1> |
279 |
<P>This is the text of the first paragraph. |
280 |
|
281 |
Berners-Lee, Connolly, et. al. Page 5 |
282 |
|
283 |
HTML 2.0 November 28, 1994 |
284 |
|
285 |
|
286 |
<P>This is the text of the second paragraph. Although |
287 |
you do not need to start paragraphs on new lines, |
288 |
maintaining this convention facilitates document |
289 |
maintenance. |
290 |
<P>This is the text of a third paragraph. |
291 |
|
292 |
Preformatted Text |
293 |
|
294 |
<PRE> ... </PRE> |
295 |
|
296 |
<PRE WIDTH="80"> |
297 |
This is an example of preformatted text. |
298 |
</PRE> |
299 |
|
300 |
Title |
301 |
|
302 |
<TITLE> ... </TITLE> |
303 |
|
304 |
<TITLE>Title of document</TITLE> |
305 |
|
306 |
1.1.4 List Elements |
307 |
|
308 |
Definition List |
309 |
|
310 |
<DL> ... <DT>term<DD>definition... </DL> |
311 |
|
312 |
<DL> |
313 |
<DT>Term<DD>This is the first definition. |
314 |
<DT>Term<DD>This is the second definition. |
315 |
</DL> |
316 |
|
317 |
Directory List |
318 |
|
319 |
<DIR> ... <LI>List item... </DIR> |
320 |
|
321 |
<DIR> |
322 |
<LI>A-H<LI>I-M |
323 |
<LI>M-R<LI>S-Z |
324 |
</DIR> |
325 |
|
326 |
Menu List |
327 |
|
328 |
<MENU> ... <LI>List item... </MENU> |
329 |
|
330 |
<MENU> |
331 |
<LI>First item in the list. |
332 |
<LI>Second item in the list. |
333 |
<LI>Third item in the list. |
334 |
</MENU> |
335 |
|
336 |
|
337 |
Berners-Lee, Connolly, et. al. Page 6 |
338 |
|
339 |
HTML 2.0 November 28, 1994 |
340 |
|
341 |
|
342 |
Ordered List |
343 |
|
344 |
<OL> ... <LI>List item... </OL> |
345 |
|
346 |
<OL> |
347 |
<LI>Click the Web button to open the Open the URL |
348 |
window. |
349 |
<LI>Enter the URL number in the text field of the Open |
350 |
URL window. The Web document you specified is displayed. |
351 |
<LI>Click highlighted text to move from one link to |
352 |
another. |
353 |
</OL> |
354 |
|
355 |
Unordered List |
356 |
|
357 |
<UL> ... <LI>List item... </UL> |
358 |
|
359 |
<UL> |
360 |
<LI>This is the first item in the list. |
361 |
<LI>This is the second item in the list. |
362 |
<LI>This is the third item in the list. |
363 |
</UL> |
364 |
|
365 |
1.1.5 Information Type and Character Formatting Elements |
366 |
|
367 |
Bold |
368 |
|
369 |
<B> ... </B> |
370 |
|
371 |
Suggests the rendering of the text in boldface. If |
372 |
boldface is not available, alternative mapping is |
373 |
allowed. |
374 |
|
375 |
Citation |
376 |
|
377 |
<CITE> ... </CITE> |
378 |
|
379 |
Specifies a citation; typically rendered as italic. |
380 |
|
381 |
Code |
382 |
|
383 |
<CODE> ... </CODE> |
384 |
|
385 |
Indicates an inline example of code; typically rendered |
386 |
as monospaced.. Do not confuse with the <PRE> tag. |
387 |
|
388 |
Emphasis |
389 |
|
390 |
<EM> ... </EM> |
391 |
|
392 |
|
393 |
Berners-Lee, Connolly, et. al. Page 7 |
394 |
|
395 |
HTML 2.0 November 28, 1994 |
396 |
|
397 |
|
398 |
Provides typographic emphasis; typically rendered as |
399 |
italics. |
400 |
|
401 |
Italics |
402 |
|
403 |
<I> ... </I> |
404 |
|
405 |
Suggests the rendering of text in italic font, or |
406 |
slanted if italic is not available. |
407 |
|
408 |
Keyboard |
409 |
|
410 |
<KBD> ... </KBD> |
411 |
|
412 |
Indicates text typed by a user; typically rendered as |
413 |
monospaced. |
414 |
|
415 |
Sample |
416 |
|
417 |
<SAMP> ... </SAMP> |
418 |
|
419 |
Indicates a sequence of literal characters; typically |
420 |
rendered as monospaced.. |
421 |
|
422 |
Strong |
423 |
|
424 |
<STRONG> ... </STRONG> |
425 |
|
426 |
Provides strong typographic emphasis; typically rendered |
427 |
as bold. |
428 |
|
429 |
Typetype |
430 |
|
431 |
<TT> ... </TT> |
432 |
|
433 |
Specifies that the text be rendered in fixed-width font. |
434 |
|
435 |
Variable |
436 |
|
437 |
<VAR> ... </VAR> |
438 |
|
439 |
Indicates a variable name; typically rendered as italic. |
440 |
|
441 |
1.1.6 Image Element |
442 |
|
443 |
Image |
444 |
|
445 |
<IMG> |
446 |
|
447 |
Inserts the referenced graphic image into the document |
448 |
|
449 |
Berners-Lee, Connolly, et. al. Page 8 |
450 |
|
451 |
HTML 2.0 November 28, 1994 |
452 |
|
453 |
|
454 |
at the location where the element occurs. |
455 |
|
456 |
Example: |
457 |
|
458 |
<IMG SRC ="triangle.gif" ALT="Warning:"> Be sure to read |
459 |
these instructions. |
460 |
|
461 |
1.1.7 Form Elements |
462 |
|
463 |
Form |
464 |
|
465 |
<FORM> ... </FORM> |
466 |
|
467 |
The Form element contains nested elements (described |
468 |
below) which define user input controls and allow |
469 |
descriptive text to be displayed when the document is |
470 |
processed. |
471 |
|
472 |
Input |
473 |
|
474 |
<INPUT> |
475 |
|
476 |
Takes these attributes: ALIGN, MAXLENGTH, NAME, SIZE, |
477 |
SRC, TYPE, VALUE. The type attribute can define these |
478 |
field types: CHECKBOX, HIDDEN, IMAGE, PASSWORD, RADIO, |
479 |
RESET, SUBMIT, TEXT. |
480 |
|
481 |
Example: |
482 |
|
483 |
<FORM METHOD="POST" action="http://www.hal.com/sample"> |
484 |
<P>Your name: <INPUT NAME="name" SIZE="48"> |
485 |
<P>Male <INPUT NAME="gender" TYPE=RADIO VALUE="male"> |
486 |
<P>Female <INPUT NAME="gender" TYPE=RADIO |
487 |
VALUE="female"> |
488 |
</FORM> |
489 |
|
490 |
Option |
491 |
|
492 |
<OPTION> |
493 |
|
494 |
The Option element can only occur within a Select |
495 |
element. It represents one choice. |
496 |
|
497 |
Select |
498 |
|
499 |
<SELECT NAME="..." > ... </SELECT> |
500 |
|
501 |
Select provides a list of choices. |
502 |
|
503 |
<SELECT NAME="flavor"> |
504 |
|
505 |
Berners-Lee, Connolly, et. al. Page 9 |
506 |
|
507 |
HTML 2.0 November 28, 1994 |
508 |
|
509 |
|
510 |
<OPTION>Vanilla |
511 |
<OPTION>Strawberry |
512 |
<OPTION>Rum and Raisin |
513 |
<OPTION>Peach and Orange |
514 |
</SELECT> |
515 |
|
516 |
Textarea |
517 |
|
518 |
<TEXTAREA> ... </TEXTAREA> |
519 |
|
520 |
Textarea defines a multi-line text entry input control. |
521 |
It contains the initial text contents of the control. |
522 |
|
523 |
<TEXTAREA NAME="address" ROWS=64 COLS=6> |
524 |
HaL Computer Systems |
525 |
1314 Dell Avenue |
526 |
Campbell California 95008 |
527 |
</TEXTAREA> |
528 |
|
529 |
1.1.8 Character Data in HTML |
530 |
|
531 |
Representing Graphic Characters in HTML |
532 |
|
533 |
Because of the way special characters are used in |
534 |
marking up HTML text, character strings are used to |
535 |
represent the less than (<) and greater than (>) symbols |
536 |
and the ampersand (&) as shown in Section 2.17.1. |
537 |
|
538 |
Representing ISO Latin-1 Characters in HTML |
539 |
|
540 |
HTML also allows references to any of the ISO Latin-1 |
541 |
alphabet, using the names in the table ISO Latin-1 |
542 |
Character Representations, which is derived from ISO |
543 |
Standard 8879:1986//ENTITIES Added Latin 1//EN. For |
544 |
details, see 2.17.2. |
545 |
|
546 |
1.2 Example HTML Document |
547 |
|
548 |
<HTML> |
549 |
<HEAD> |
550 |
<TITLE>Structural Example</TITLE> |
551 |
</HEAD> |
552 |
<BODY> |
553 |
<H1>First Header</H1> |
554 |
<P>This is a paragraph in the example HTML file. |
555 |
Keep in mind that the title does not appear in the |
556 |
document text, but that the header (defined by H1) does. |
557 |
<UL> |
558 |
<LI>First item in an unordered list. |
559 |
<LI>Second item in an unordered list. |
560 |
|
561 |
Berners-Lee, Connolly, et. al. Page 10 |
562 |
|
563 |
HTML 2.0 November 28, 1994 |
564 |
|
565 |
|
566 |
</UL> |
567 |
<P>This is an additional paragraph. Technically, end |
568 |
tags |
569 |
are not required for paragraphs, although they are |
570 |
allowed. |
571 |
You can include character highlighting in a paragraph. |
572 |
<I>This sentence of the paragraph is in italics.</I> |
573 |
<IMG SRC ="triangle.gif" alt="Warning:"> Be sure to read |
574 |
these instructions. |
575 |
</BODY> |
576 |
</HTML> |
577 |
|
578 |
2. HTML Specification |
579 |
|
580 |
HTML has been in use by the World Wide Web (WWW) global |
581 |
information initiative since 1990. This specification |
582 |
corresponds to the legitimate capabilities of HTML in |
583 |
common use prior to June 1994. It is defined as an |
584 |
application of ISO Standard 8879:1986: Standard |
585 |
Generalized Markup Language (SGML). This specification |
586 |
is proposed as the Internet Media Type (RFC 1590) and |
587 |
MIME Content Type (RFC 1521) called "text/html", or |
588 |
"text/html; version=2.0". |
589 |
|
590 |
This specification also includes: |
591 |
|
592 |
- 5.1 SGML Declaration for HTML |
593 |
|
594 |
- 5.1.1 Sample SGML Open Style Entity Catalog for HTML |
595 |
|
596 |
- 5.2 HTML DTD |
597 |
|
598 |
This specification is currently available on the World |
599 |
Wide Web at URL: http://www.hal.com/%7Econnolly/html-spec |
600 |
|
601 |
Please send comments to the discussion list at: html- |
602 |
wg@oclc.org |
603 |
|
604 |
2.1 Levels of Conformance |
605 |
|
606 |
Version 2.0 of the HTML specification introduces forms |
607 |
for user input of information, and adds a distinction |
608 |
between levels of conformance: |
609 |
|
610 |
Level 0 |
611 |
|
612 |
Indicates the minimum conformance level. When writing |
613 |
Level 0 documents, authors can be confident that the |
614 |
rendering at different sites will reflect their intent. |
615 |
|
616 |
|
617 |
Berners-Lee, Connolly, et. al. Page 11 |
618 |
|
619 |
HTML 2.0 November 28, 1994 |
620 |
|
621 |
|
622 |
Level 1 |
623 |
|
624 |
Includes Level 0 features plus features such as |
625 |
highlighting and images. |
626 |
|
627 |
Level 2 |
628 |
|
629 |
Includes all Level 0 and Level 1 features, plus forms. |
630 |
Features of higher levels, such as tables, figures, and |
631 |
mathematical formulae, are under discussion and are |
632 |
described as proposed where mentioned. |
633 |
|
634 |
2.2 Undefined Tag and Attribute Names |
635 |
|
636 |
An accepted networking principle is to be conservative |
637 |
in that which one produces, and liberal in that which |
638 |
one accepts. HTML user agents should be liberal except |
639 |
when verifying code. HTML generators should generate |
640 |
strictly conforming HTML. |
641 |
|
642 |
The behavior of HTML user agents reading HTML documents |
643 |
and discovering tag or attribute names which they do not |
644 |
understand should be to behave as though, in the case of |
645 |
a tag, the whole tag had not been there but its content |
646 |
had, or in the case of an attribute, that the attribute |
647 |
had not been present. |
648 |
|
649 |
2.3 Deprecated and Recommended Sections in DTDs |
650 |
|
651 |
In Section 5., optional "deprecated" and "recommended" |
652 |
sections are used. Conformance with this specification |
653 |
is defined with these sections disabled. In the liberal |
654 |
spirit of Section 2.2, HTML user agents reading HTML |
655 |
documents should accept syntax corresponding to the |
656 |
specification with "deprecated" turned on. HTML user |
657 |
agents generating HTML may in the spirit of |
658 |
conservation, generate documents that conform to the |
659 |
specification with the "recommended" sections turned on. |
660 |
|
661 |
2.4 HTML and MIME |
662 |
|
663 |
The World Wide Web initiative (WWW) links information |
664 |
throughout the world. To do this, WWW uses the Internet |
665 |
Hypertext Transfer Protocol (HTTP), which allows |
666 |
transfer representations to be negotiated between client |
667 |
and server. Results are returned in a MIME body part. |
668 |
|
669 |
HTML is one of the representations used by WWW, and is |
670 |
proposed as a MIME content type. The definition of the |
671 |
HTML Content-Type is text/html, and has three optional |
672 |
|
673 |
Berners-Lee, Connolly, et. al. Page 12 |
674 |
|
675 |
HTML 2.0 November 28, 1994 |
676 |
|
677 |
|
678 |
parameters: |
679 |
|
680 |
Level |
681 |
|
682 |
The level parameter specifies the feature set used in |
683 |
the document. The level is an integer number, implying |
684 |
that any features of same or lower level may be present |
685 |
in the document. Levels are defined by this |
686 |
specification. |
687 |
|
688 |
Version |
689 |
|
690 |
To help avoid future compatibility problems, the version |
691 |
parameter may be used to give the version number of the |
692 |
specification to which the document conforms. The |
693 |
version number appears at the front of this document and |
694 |
within the public identifier for the SGML DTD. |
695 |
|
696 |
Character sets |
697 |
|
698 |
The charset parameter is reserved for future use. See |
699 |
Section 2.16 for a discussion of character sets and |
700 |
encodings in HTML. |
701 |
|
702 |
The actual character set used in the representation of |
703 |
an HTML document may be ISO 8859/1, or its 7-bit subset |
704 |
which is ISO 646. There is no obligation for an HTML |
705 |
document to contain any characters above decimal 127. It |
706 |
is possible that a transport medium such as electronic |
707 |
mail imposes constraints on the number of bits in a |
708 |
representation of a document, though the HTTP access |
709 |
protocol used by WWW always allows 8 bit transfer. |
710 |
|
711 |
When an HTML document is encoded using 7-bit characters, |
712 |
then the mechanisms of numeric character references (see |
713 |
Section 2.16.2) and character entity references (see |
714 |
Section 2.16.3) may be used to encode characters in the |
715 |
upper half of the ISO 8859/1 Latin-1 set. In this way, |
716 |
documents may be prepared which are suitable for mailing |
717 |
through 7-bit limited systems. |
718 |
|
719 |
NOTE: ISO 646 is, for all intents and purposes, |
720 |
equivalent to the ANSI standard for ASCII (American |
721 |
Standard Code for Information Interchange). The only |
722 |
notable differences between the two standards are the |
723 |
names assigned to the control characters that occupy |
724 |
positions 00 through 31 and position 127 (decimal) in |
725 |
that encoding. For encoding HTML documents, only three |
726 |
control characters in ISO 646 or ASCII are relevant (see |
727 |
Section 2.16.2). These are Carriage Return (CR) at |
728 |
|
729 |
Berners-Lee, Connolly, et. al. Page 13 |
730 |
|
731 |
HTML 2.0 November 28, 1994 |
732 |
|
733 |
|
734 |
position 13, Line Feed (LF) at position 10, and |
735 |
Horizontal Tab (HT) at position 11. |
736 |
|
737 |
2.5 Understanding HTML and SGML |
738 |
|
739 |
HTML is an application of ISO Standard 8879:1986 - |
740 |
Standard Generalized Markup Language (SGML). SGML is a |
741 |
system for defining structured document types, and |
742 |
markup languages to represent instances of those |
743 |
document types. The SGML declaration for HTML is given |
744 |
in Section 5.1. It is implicit among HTML user agents. |
745 |
|
746 |
If the HTML specification and SGML standard conflict, |
747 |
the SGML standard is definitive. |
748 |
|
749 |
Every SGML document has three parts: |
750 |
|
751 |
SGML declaration |
752 |
|
753 |
Binds SGML processing quantities and syntax token names |
754 |
to specific values. For example, the SGML declaration in |
755 |
the HTML DTD specifies that the string that opens an end |
756 |
tag is </ and the maximum length of a name is 72 |
757 |
characters. |
758 |
|
759 |
Prologue |
760 |
|
761 |
Includes one or more document type declarations, which |
762 |
specify the element types, element relationships and |
763 |
attributes. |
764 |
|
765 |
Instance |
766 |
|
767 |
Contains the data and markup of the document. |
768 |
|
769 |
HTML refers to the document type as well as the markup |
770 |
language for representing instances of that document |
771 |
type. |
772 |
|
773 |
2.6 Working with Structured Text |
774 |
|
775 |
An HTML document is like a text file, except that some |
776 |
of the characters are markup. Markup (tags) define the |
777 |
structure of the document. |
778 |
|
779 |
To identify information as HTML, each HTML document |
780 |
should start with the prologue: |
781 |
|
782 |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN//2.0"> |
783 |
|
784 |
|
785 |
Berners-Lee, Connolly, et. al. Page 14 |
786 |
|
787 |
HTML 2.0 November 28, 1994 |
788 |
|
789 |
|
790 |
NOTE: If the body of a text/html body part does not |
791 |
begin with a document type declaration, an HTML user |
792 |
agent should infer the above document type declaration. |
793 |
|
794 |
HTML documents should also contain an <HTML> tag at the |
795 |
beginning of the file, after the prologue, and an |
796 |
</HTML> tag at the end. Within those tags, an HTML |
797 |
document is organized as a head and a body, much like |
798 |
memo or a mail message. Within the head, you can specify |
799 |
the title and other information about the document. |
800 |
Within the body, you can structure text into paragraphs |
801 |
and lists as well as highlighting phrases and creating |
802 |
links. You do this using HTML elements. |
803 |
|
804 |
NOTE: Technically, the start and end tags for HTML, |
805 |
Head, and Body elements are omissible; however, this is |
806 |
not recommended since the head/ body structure allows an |
807 |
implementation to determine certain properties of a |
808 |
document, such as the title, without parsing the entire |
809 |
document. |
810 |
|
811 |
2.6.1 HTML Elements |
812 |
|
813 |
In HTML documents, tags define the start and end of |
814 |
headings, paragraphs, lists, character highlighting and |
815 |
links. Most HTML elements are identified in a document |
816 |
as a start tag, which gives the element name and |
817 |
attributes, followed by the content, followed by the end |
818 |
tag. Start tags are delimited by < and >, and end tags |
819 |
are delimited by </ and >. |
820 |
|
821 |
Example: |
822 |
|
823 |
<H1>This is a Heading</H1> |
824 |
|
825 |
Some elements only have a start tag without an end tag. |
826 |
For example, to create a line break, you use the <BR> |
827 |
tag. Additionally, the end tags of some other elements, |
828 |
such as Paragraph (<P>), List Item (<LI>), Definition |
829 |
Term (<DT>), and Definition Description (<DD>) elements, |
830 |
may be omitted. |
831 |
|
832 |
The content of an element is a sequence of characters |
833 |
and nested elements. Some elements, such as anchors, |
834 |
cannot be nested. Anchors and character highlighting may |
835 |
be put inside other constructs. |
836 |
|
837 |
NOTE: The SGML declaration for HTML specifies SHORTTAG |
838 |
YES, which means that there are other valid syntaxes for |
839 |
tags, such as NET tags, <EM/.../; empty start tags, <>; |
840 |
|
841 |
Berners-Lee, Connolly, et. al. Page 15 |
842 |
|
843 |
HTML 2.0 November 28, 1994 |
844 |
|
845 |
|
846 |
and empty end tags, </>. Until support for these idioms |
847 |
is widely deployed, their use is strongly discouraged. |
848 |
|
849 |
2.6.2 Names |
850 |
|
851 |
A name consists of a letter followed by up to 71 |
852 |
letters, digits, periods, or hyphens. Element names are |
853 |
not case sensitive, but entity names are. For example, |
854 |
<BLOCKQUOTE>, <BlockQuote>, and <blockquote> are |
855 |
equivalent, whereas & is different from &. |
856 |
|
857 |
In a start tag, the element name must immediately follow |
858 |
the tag open delimiter <. |
859 |
|
860 |
2.6.3 Attributes |
861 |
|
862 |
In a start tag, white space and attributes are allowed |
863 |
between the element name and the closing delimiter. An |
864 |
attribute typically consists of an attribute name, an |
865 |
equal sign, and a value (although some attributes may be |
866 |
just a value). White space is allowed around the equal |
867 |
sign. |
868 |
|
869 |
The value of the attribute may be either: |
870 |
|
871 |
- A string literal, delimited by single quotes or |
872 |
double quotes and not containing any occurrences of the |
873 |
delimiting character. |
874 |
|
875 |
- A name token (a sequence of letters, digits, |
876 |
periods, or hyphens) |
877 |
|
878 |
In this example, A is the element name, HREF is the |
879 |
attribute name, and http://host/dir/file.html is the |
880 |
attribute value: |
881 |
|
882 |
<A HREF="http://host/dir/file.html"> |
883 |
|
884 |
NOTE: Some non-SGML implementations consider any |
885 |
occurrence of the > character to signal the end of a |
886 |
tag. For compatibility with such implementations, when > |
887 |
appears in an attribute value, you may want to represent |
888 |
it with an entity or numeric character reference (see |
889 |
Section 2.17.1), such as: <IMG SRC="eq1.ps" alt="a > |
890 |
b"> |
891 |
|
892 |
To put quotes inside of quotes, you may use the |
893 |
character representation " as in: |
894 |
|
895 |
<IMG SRC="image.ps" alt="First "real" |
896 |
|
897 |
Berners-Lee, Connolly, et. al. Page 16 |
898 |
|
899 |
HTML 2.0 November 28, 1994 |
900 |
|
901 |
|
902 |
example"> |
903 |
|
904 |
The length of an attribute value is limited to 1024 |
905 |
characters after replacing entity and numeric character |
906 |
references. |
907 |
|
908 |
NOTE: Some non-SGML implementations allow any character |
909 |
except space or > in a name token. Attributes values |
910 |
must be quoted only if they don't satisfy the syntax for |
911 |
a name token. |
912 |
|
913 |
Attributes with a declared value of NAME, such as ISMAP |
914 |
and COMPACT, may be written using a minimized syntax. |
915 |
The markup: |
916 |
|
917 |
<UL COMPACT="compact"> |
918 |
|
919 |
can be written using a minimized syntax: |
920 |
|
921 |
<UL COMPACT> |
922 |
|
923 |
NOTE: Some non-SGML implementations only understand the |
924 |
minimized syntax. |
925 |
|
926 |
2.6.4 Special Characters |
927 |
|
928 |
The characters between the tags represent text in the |
929 |
ISO-Latin-1 character set, which is a superset of ASCII. |
930 |
Because certain characters will be interpreted as |
931 |
markup, they should be represented by markup - entity or |
932 |
numeric character references. For more information, see |
933 |
Section 2.16. |
934 |
|
935 |
2.6.5 Comments |
936 |
|
937 |
To include comments in an HTML document that will be |
938 |
ignored by the HTML user agent, surround them with <!-- |
939 |
and -->. After the comment delimiter, all text up to the |
940 |
next occurrence of --> is ignored. Hence comments cannot |
941 |
be nested. White space is allowed between the closing -- |
942 |
and >, but not between the opening <! and --. |
943 |
|
944 |
For example: |
945 |
|
946 |
<HEAD> |
947 |
<TITLE>HTML Guide: Recommended Usage</TITLE> |
948 |
<!-- Id: Text.html,v 1.6 1994/04/25 17:33:48 connolly Exp --> |
949 |
</HEAD> |
950 |
|
951 |
NOTE: Some historical HTML user agents incorrectly |
952 |
|
953 |
Berners-Lee, Connolly, et. al. Page 17 |
954 |
|
955 |
HTML 2.0 November 28, 1994 |
956 |
|
957 |
|
958 |
consider a > sign to terminate a comment. |
959 |
|
960 |
2.7 The Head Element and Related Elements |
961 |
|
962 |
Only certain elements are allowed in the head of an HTML |
963 |
document. Elements that may be included in the head of a |
964 |
document are: |
965 |
|
966 |
2.7.1 Head |
967 |
|
968 |
<HEAD> ... </HEAD> |
969 |
|
970 |
Level 0 |
971 |
|
972 |
The head of an HTML document is an unordered collection |
973 |
of information about the document. It requires the Title |
974 |
element between <HEAD> and </HEAD> tags in this format: |
975 |
|
976 |
<HEAD> |
977 |
<TITLE>Introduction to HTML</TITLE> |
978 |
</HEAD> |
979 |
|
980 |
2.7.2 Base |
981 |
|
982 |
Level 0 |
983 |
|
984 |
The Base element allows the URL of the document itself |
985 |
to be recorded in situations in which the document may |
986 |
be read out of context. URLs within the document may be |
987 |
in a "partial" form relative to this base address. |
988 |
|
989 |
Where the base address is not specified, the HTML user |
990 |
agent uses the URL it used to access the document to |
991 |
resolve any relative URLs. |
992 |
|
993 |
The Base element has one attribute, HREF, which |
994 |
identifies the URL. |
995 |
|
996 |
2.7.3 Isindex |
997 |
|
998 |
Level 0 |
999 |
|
1000 |
The Isindex element tells the HTML user agent that the |
1001 |
document is an index document. As well as reading it, |
1002 |
the reader may use a keyword search. |
1003 |
|
1004 |
The document can be queried with a keyword search by |
1005 |
adding a question mark to the end of the document |
1006 |
address, followed by a list of keywords separated by |
1007 |
plus signs. |
1008 |
|
1009 |
Berners-Lee, Connolly, et. al. Page 18 |
1010 |
|
1011 |
HTML 2.0 November 28, 1994 |
1012 |
|
1013 |
|
1014 |
|
1015 |
NOTE: The Isindex element is usually generated |
1016 |
automatically by a server. If added manually to an HTML |
1017 |
document, the HTML user agent assumes that the server |
1018 |
can handle a search on the document. To use the Isindex |
1019 |
element, the server must have a search engine that |
1020 |
supports this element. |
1021 |
|
1022 |
2.7.4 Link |
1023 |
|
1024 |
Level 1 |
1025 |
|
1026 |
The Link element indicates a relationship between the |
1027 |
document and some other object. A document may have any |
1028 |
number of Link elements. |
1029 |
|
1030 |
The Link element is empty (does not have a closing tag), |
1031 |
but takes the same attributes as the Anchor element. |
1032 |
|
1033 |
Typical uses are to indicate authorship, related indexes |
1034 |
and glossaries, older or more recent versions, etc. |
1035 |
Links can indicate a static tree structure in which the |
1036 |
document was authored by pointing to a "parent" and |
1037 |
"next" and "previous" document, for example. |
1038 |
|
1039 |
Servers may also allow links to be added by those who do |
1040 |
not have the right to alter the body of a document. |
1041 |
|
1042 |
2.7.5 Nextid |
1043 |
|
1044 |
Level 0 |
1045 |
|
1046 |
The Nextid element is a parameter read by and generated |
1047 |
by text editing software to create unique identifiers. |
1048 |
This tag takes a single attribute which is the next |
1049 |
document-wide alpha-numeric identifier to be allocated |
1050 |
of the form z123: |
1051 |
|
1052 |
<NEXTID N=Z27> |
1053 |
|
1054 |
When modifying a document, existing anchor identifiers |
1055 |
should not be reused, as these identifiers may be |
1056 |
referenced by other documents. Human writers of HTML |
1057 |
usually use mnemonic alphabetical identifiers. |
1058 |
|
1059 |
HTML user agents may ignore the Nextid element. Support |
1060 |
for the Nextid element does not impact HTML user agents |
1061 |
in any way. |
1062 |
|
1063 |
2.7.6 Title |
1064 |
|
1065 |
Berners-Lee, Connolly, et. al. Page 19 |
1066 |
|
1067 |
HTML 2.0 November 28, 1994 |
1068 |
|
1069 |
|
1070 |
|
1071 |
<TITLE> ... </TITLE> |
1072 |
|
1073 |
Level 0 |
1074 |
|
1075 |
Every HTML document must contain a Title element. The |
1076 |
title should identify the contents of the document in a |
1077 |
global context, and may be used in a history lists and |
1078 |
as a label for the window displaying the document. |
1079 |
Unlike headings, titles are not typically rendered in |
1080 |
the text of a document itself. |
1081 |
|
1082 |
The Title element must occur within the head of the |
1083 |
document, and may not contain anchors, paragraph tags, |
1084 |
or highlighting. Only one title is allowed in a |
1085 |
document. |
1086 |
|
1087 |
NOTE: The length of a title is not limited; however, |
1088 |
long titles may be truncated in some applications. To |
1089 |
minimize this possibility, titles should be fewer than |
1090 |
64 characters. Also keep in mind that a short title, |
1091 |
such as Introduction, may be meaningless out of context. |
1092 |
An example of a meaningful title might be "Introduction |
1093 |
to HTML Elements." |
1094 |
|
1095 |
2.7.7 Meta |
1096 |
|
1097 |
Level 1 |
1098 |
|
1099 |
The Meta element is used within the Head element to |
1100 |
embed document meta-information not defined by other |
1101 |
HTML elements. Such information can be extracted by |
1102 |
servers/clients for use in identifying, indexing, and |
1103 |
cataloging specialized document meta-information. |
1104 |
|
1105 |
Although it is generally preferable to use named |
1106 |
elements that have well-defined semantics for each type |
1107 |
of meta-information, such as a title, this element is |
1108 |
provided for situations where strict SGML parsing is |
1109 |
necessary and the local DTD is not extensible. |
1110 |
|
1111 |
In addition, HTTP servers can read the content of the |
1112 |
document head to generate response headers corresponding |
1113 |
to any elements defining a value for the attribute HTTP- |
1114 |
EQUIV. This provides document authors a mechanism (not |
1115 |
necessarily the preferred one) for identifying |
1116 |
information that should be included in the response |
1117 |
headers for an HTTP request. |
1118 |
|
1119 |
Attributes of the Meta element: |
1120 |
|
1121 |
Berners-Lee, Connolly, et. al. Page 20 |
1122 |
|
1123 |
HTML 2.0 November 28, 1994 |
1124 |
|
1125 |
|
1126 |
|
1127 |
HTTP-EQUIV |
1128 |
|
1129 |
This attribute binds the element to an HTTP response |
1130 |
header. If the semantics of the HTTP response header |
1131 |
named by this attribute is known, then the contents can |
1132 |
be processed based on a well-defined syntactic mapping |
1133 |
whether or not the DTD includes anything about it. HTTP |
1134 |
header names are not case sensitive. If not present, the |
1135 |
NAME attribute should be used to identify this meta- |
1136 |
information and it should not be used within an HTTP |
1137 |
response header. |
1138 |
|
1139 |
NAME |
1140 |
|
1141 |
Meta-information name. If the NAME attribute is not |
1142 |
present, the name can be assumed equal to the value of |
1143 |
HTTP-EQUIV. |
1144 |
|
1145 |
CONTENT |
1146 |
|
1147 |
The meta-information content to be associated with the |
1148 |
given name and/or HTTP response header. |
1149 |
|
1150 |
Examples |
1151 |
|
1152 |
If the document contains: |
1153 |
|
1154 |
<META HTTP-EQUIV="Expires" CONTENT="Tue, 04 Dec 1993 21:29:02 |
1155 |
GMT"> |
1156 |
<META HTTP-EQUIV="Keywords" CONTENT="Fred, Barney"> |
1157 |
<META HTTP-EQUIV="Reply- |
1158 |
to" content="fielding@ics.uci.edu (Roy Fielding)"> |
1159 |
|
1160 |
Expires: Tue, 04 Dec 1993 21:29:02 GMT |
1161 |
Keywords: Fred, Barney |
1162 |
Reply-to: fielding@ics.uci.edu (Roy Fielding) |
1163 |
|
1164 |
When the HTTP-EQUIV attribute is not present, the server |
1165 |
should not generate an HTTP response header for this |
1166 |
meta-information; e.g., |
1167 |
|
1168 |
<META NAME="IndexType" CONTENT="Service"> |
1169 |
|
1170 |
Do not use the Meta element to define information that |
1171 |
should be associated with an existing HTML element. |
1172 |
|
1173 |
Example of an inappropriate use of the Meta element: |
1174 |
|
1175 |
<META NAME="Title" CONTENT="The Etymology of Dunsel"> |
1176 |
|
1177 |
Berners-Lee, Connolly, et. al. Page 21 |
1178 |
|
1179 |
HTML 2.0 November 28, 1994 |
1180 |
|
1181 |
|
1182 |
|
1183 |
Do not name an HTTP-EQUIV equal to a response header |
1184 |
that should typically only be generated by the HTTP |
1185 |
server. Some inappropriate names are "Server", "Date", |
1186 |
and "Last-modified". Whether a name is inappropriate |
1187 |
depends on the particular server implementation. It is |
1188 |
recommended that servers ignore any Meta elements that |
1189 |
specify HTTP-equivalents equal (case-insensitively) to |
1190 |
their own reserved response headers. |
1191 |
|
1192 |
2.8 The Body Element and Related Elements |
1193 |
|
1194 |
The following elements may be included in the body of an |
1195 |
HTML document: |
1196 |
|
1197 |
2.8.1 Body |
1198 |
|
1199 |
<BODY> ... </BODY> |
1200 |
|
1201 |
Level 0 |
1202 |
|
1203 |
The Body element identifies the body component of an |
1204 |
HTML document. Specifically, the body of a document may |
1205 |
contain links, text, and formatting information within |
1206 |
<BODY> and </BODY> tags. |
1207 |
|
1208 |
2.8.2 Address |
1209 |
|
1210 |
<ADDRESS> ... </ADDRESS> |
1211 |
|
1212 |
Level 0 |
1213 |
|
1214 |
The Address element specifies such information as |
1215 |
address, signature and authorship, often at the top or |
1216 |
bottom of a document. |
1217 |
|
1218 |
Typically, an Address is rendered in an italic typeface |
1219 |
and may be indented. The Address element implies a |
1220 |
paragraph break before and after. |
1221 |
|
1222 |
Example of use: |
1223 |
|
1224 |
<ADDRESS> |
1225 |
Newsletter editor<BR> |
1226 |
J.R. Brown<BR> |
1227 |
JimquickPost News, Jumquick, CT 01234<BR> |
1228 |
Tel (123) 456 7890 |
1229 |
</ADDRESS> |
1230 |
|
1231 |
2.8.3 Anchor |
1232 |
|
1233 |
Berners-Lee, Connolly, et. al. Page 22 |
1234 |
|
1235 |
HTML 2.0 November 28, 1994 |
1236 |
|
1237 |
|
1238 |
|
1239 |
<A> ... </A> |
1240 |
|
1241 |
Level 0 |
1242 |
|
1243 |
An anchor is a marked text that is the start and/or |
1244 |
destination of a hypertext link. Anchor elements are |
1245 |
defined by the <A> tag. The <A> tag accepts several |
1246 |
attributes, but either the NAME or HREF attribute is |
1247 |
required. |
1248 |
|
1249 |
Attributes of the <A> tag: |
1250 |
|
1251 |
HREF |
1252 |
|
1253 |
Level 0 |
1254 |
|
1255 |
If the HREF attribute is present, the text between the |
1256 |
opening and closing anchor tags becomes hypertext. If |
1257 |
this hypertext is selected by readers, they are moved to |
1258 |
another document, or to a different location in the |
1259 |
current document, whose network address is defined by |
1260 |
the value of the HREF attribute. |
1261 |
|
1262 |
Example: |
1263 |
|
1264 |
See <A HREF="http://www.hal.com/">HaL</A>'s information |
1265 |
for more details. |
1266 |
|
1267 |
In this example, selecting "HaL" takes the reader to a |
1268 |
document at http://www.hal.com. The format of the |
1269 |
network address is specified in the URI specification |
1270 |
for print readers. |
1271 |
|
1272 |
With the HREF attribute, the form HREF="#identifier" can |
1273 |
refer to another anchor in the same document. |
1274 |
|
1275 |
Example: |
1276 |
|
1277 |
The <A HREF="document.html#glossary">glossary</A> |
1278 |
defines terms used in this document. |
1279 |
|
1280 |
In this example, selecting "glossary" takes the reader |
1281 |
to another anchor (i.e., <A |
1282 |
NAME="glossary">Glossary</A>) in the same document |
1283 |
(document.html). The NAME attribute is described below. |
1284 |
If the anchor is in another document, the HREF attribute |
1285 |
may be relative to the document's address or the |
1286 |
specified base address (see 2.7.2 Base). |
1287 |
|
1288 |
|
1289 |
Berners-Lee, Connolly, et. al. Page 23 |
1290 |
|
1291 |
HTML 2.0 November 28, 1994 |
1292 |
|
1293 |
|
1294 |
NAME |
1295 |
|
1296 |
Level 0 |
1297 |
|
1298 |
If present, the NAME attribute allows the anchor to be |
1299 |
the target of a link. The value of the NAME attribute is |
1300 |
an identifier for the anchor. Identifiers are arbitrary |
1301 |
strings but must be unique within the HTML document. |
1302 |
|
1303 |
Example of use: |
1304 |
|
1305 |
<A NAME="coffee">Coffee</A> is an example of ... |
1306 |
... |
1307 |
An example of this is <A HREF="#coffee">coffee</A>. |
1308 |
|
1309 |
Another document can then make a reference explicitly to |
1310 |
this anchor by putting the identifier after the address, |
1311 |
separated by a hash sign: |
1312 |
|
1313 |
<A NAME="drinks.html#coffee"> |
1314 |
|
1315 |
TITLE |
1316 |
|
1317 |
Level 1 |
1318 |
|
1319 |
The TITLE attribute is informational only. If present, |
1320 |
the TITLE attribute should provide the title of the |
1321 |
document whose address is given by the HREF attribute. |
1322 |
|
1323 |
The TITLE attribute is useful for at least two reasons. |
1324 |
The HTML user agent may display the title of the |
1325 |
document prior to retrieving it, for example, as a |
1326 |
margin note or on a small box while the mouse is over |
1327 |
the anchor, or while the document is being loaded. |
1328 |
Another reason is that documents that are not marked up |
1329 |
text, such as graphics, plain text and Gopher menus, do |
1330 |
not have titles. The TITLE attribute can be used to |
1331 |
provide a title to such documents. When using the TITLE |
1332 |
attribute, the title should be valid and unique for the |
1333 |
destination document. |
1334 |
|
1335 |
REL |
1336 |
|
1337 |
Level 1 |
1338 |
|
1339 |
The REL attribute gives the relationship(s) described by |
1340 |
the hypertext link from the anchor to the target. The |
1341 |
value is a comma-separated list of relationship values. |
1342 |
Values and their semantics will be registered by the |
1343 |
HTML registration authority. The default relationship if |
1344 |
|
1345 |
Berners-Lee, Connolly, et. al. Page 24 |
1346 |
|
1347 |
HTML 2.0 November 28, 1994 |
1348 |
|
1349 |
|
1350 |
none other is given is void. The REL attribute is only |
1351 |
used when the HREF attribute is present. |
1352 |
|
1353 |
REV |
1354 |
|
1355 |
Level 1 |
1356 |
|
1357 |
The REV attribute is the same as the REL attribute, but |
1358 |
the semantics of the link type are in the reverse |
1359 |
direction. A link from A to B with REL="X" expresses the |
1360 |
same relationship as a link from B to A with REV="X". An |
1361 |
anchor may have both REL and REV attributes. |
1362 |
|
1363 |
URN |
1364 |
|
1365 |
Level 1 |
1366 |
|
1367 |
If present, the URN attribute specifies a uniform |
1368 |
resource name (URN) for a target document. The format of |
1369 |
URNs is under discussion (1994) by various working |
1370 |
groups of the Internet Engineering Task Force. |
1371 |
|
1372 |
METHODS |
1373 |
|
1374 |
The METHODS attributes of anchors and links provide |
1375 |
information about the functions that the user may |
1376 |
perform on an object. These are more accurately given by |
1377 |
the HTTP protocol when it is used, but it may, for |
1378 |
similar reasons as for the TITLE attribute, be useful to |
1379 |
include the information in advance in the link. For |
1380 |
example, the HTML user agent may chose a different |
1381 |
rendering as a function of the methods allowed; for |
1382 |
example, something that is searchable may get a |
1383 |
different icon. |
1384 |
|
1385 |
The value of the METHODS attribute is a comma separated |
1386 |
list of HTTP methods supported by the object for public |
1387 |
use. |
1388 |
|
1389 |
See also: 2.7.4 Link |
1390 |
|
1391 |
2.8.4 Blockquote |
1392 |
|
1393 |
<BLOCKQUOTE> ... </BLOCKQUOTE> |
1394 |
|
1395 |
Level 0 |
1396 |
|
1397 |
The Blockquote element is used to contain text quoted |
1398 |
from another source. |
1399 |
|
1400 |
|
1401 |
Berners-Lee, Connolly, et. al. Page 25 |
1402 |
|
1403 |
HTML 2.0 November 28, 1994 |
1404 |
|
1405 |
|
1406 |
A typical rendering might be a slight extra left and |
1407 |
right indent, and/or italic font. The Blockquote element |
1408 |
causes a paragraph break, and typically provides space |
1409 |
above and below the quote. |
1410 |
|
1411 |
Single-font rendition may reflect the quotation style of |
1412 |
Internet mail by putting a vertical line of graphic |
1413 |
characters , such as the greater than symbol (>), in the |
1414 |
left margin. |
1415 |
|
1416 |
Example of use: |
1417 |
|
1418 |
I think the poem ends |
1419 |
<BLOCKQUOTE> |
1420 |
<P>Soft you now, the fair Ophelia. Nymph, |
1421 |
in thy orisons, be all my sins remembered. |
1422 |
</BLOCKQUOTE> |
1423 |
but I am not sure. |
1424 |
|
1425 |
2.8.5 Headings |
1426 |
|
1427 |
<H1> ... </H1> through <H6> ... </H6> |
1428 |
|
1429 |
Level 0 |
1430 |
|
1431 |
HTML defines six levels of heading. A Heading element |
1432 |
implies all the font changes, paragraph breaks before |
1433 |
and after, and white space necessary to render the |
1434 |
heading. |
1435 |
|
1436 |
The highest level of headings is H1, followed by H2 ... |
1437 |
H6. |
1438 |
|
1439 |
Example of use: |
1440 |
|
1441 |
<H1>This is a heading</H1> |
1442 |
Here is some text |
1443 |
<H2>Second level heading</H2> |
1444 |
Here is some more text. |
1445 |
|
1446 |
The rendering of headings is determined by the HTML user |
1447 |
agent, but typical renderings are: |
1448 |
|
1449 |
<H1> ... </H1> |
1450 |
|
1451 |
Bold, very-large font, centered. One or two blank lines |
1452 |
above and below. |
1453 |
|
1454 |
<H2> ... </H2> |
1455 |
|
1456 |
|
1457 |
Berners-Lee, Connolly, et. al. Page 26 |
1458 |
|
1459 |
HTML 2.0 November 28, 1994 |
1460 |
|
1461 |
|
1462 |
Bold, large font, flush-left. One or two blank lines |
1463 |
above and below. |
1464 |
|
1465 |
<H3> ... </H3> |
1466 |
|
1467 |
Italic, large font, slightly indented from the left |
1468 |
margin. One or two blank lines above and below. |
1469 |
|
1470 |
<H4> ... </H4> |
1471 |
|
1472 |
Bold, normal font, indented more than H3. One blank line |
1473 |
above and below. |
1474 |
|
1475 |
<H5> ... </H5> |
1476 |
|
1477 |
Italic, normal font, indented as H4. One blank line |
1478 |
above. |
1479 |
|
1480 |
<H6> ... </H6> |
1481 |
|
1482 |
Bold, indented same as normal text, more than H5. One |
1483 |
blank line above. |
1484 |
|
1485 |
Although heading levels can be skipped (for example, |
1486 |
from H1 to H3), this practice is discouraged as skipping |
1487 |
heading levels may produce unpredictable results when |
1488 |
generating other representations from HTML. |
1489 |
|
1490 |
2.9 Overview of Character-Level Elements |
1491 |
|
1492 |
Level 2 (all elements) |
1493 |
|
1494 |
Character-level elements are used to specify either the |
1495 |
logical meaning or the physical appearance of marked |
1496 |
text without causing a paragraph break. Like most other |
1497 |
elements, character-level elements include both opening |
1498 |
and closing tags. Only the characters between the tags |
1499 |
are affected: |
1500 |
|
1501 |
This is <EM>emphasized</EM> text. |
1502 |
|
1503 |
Character-level tags may be ignored by minimal HTML |
1504 |
applications. |
1505 |
|
1506 |
Character-level tags are interpreted from left to right |
1507 |
as they appear in the flow of text. Level 1 HTML user |
1508 |
agents must render highlighted text distinctly from |
1509 |
plain text. Additionally, EM content must be rendered as |
1510 |
distinct from STRONG content, and B content must |
1511 |
rendered as distinct from I content. |
1512 |
|
1513 |
Berners-Lee, Connolly, et. al. Page 27 |
1514 |
|
1515 |
HTML 2.0 November 28, 1994 |
1516 |
|
1517 |
|
1518 |
|
1519 |
Character-level elements may be nested within the |
1520 |
content of other character-level elements; however, HTML |
1521 |
user agents are not required to render nested character- |
1522 |
level elements distinctly from non-nested elements: |
1523 |
|
1524 |
plain <B>bold <I>italic</I></B> |
1525 |
may the rendered the same as |
1526 |
plain <B>bold </B><I>italic</I> |
1527 |
|
1528 |
Note that typical renderings for information type |
1529 |
elements vary between applications. If a specific |
1530 |
rendering is necessary, for example, when referring to a |
1531 |
specific text attribute as in "The italic parts are |
1532 |
mandatory", a formating element can be used to ensure |
1533 |
that the intended rendered is used where possible. |
1534 |
|
1535 |
2.10 Information Type Elements |
1536 |
|
1537 |
Note that different information type elements may be |
1538 |
rendered in the same way. |
1539 |
|
1540 |
2.10.1 Citation |
1541 |
|
1542 |
<CITE>...</CITE> |
1543 |
|
1544 |
The Citation element specifies a citation; typically |
1545 |
rendered as italics. |
1546 |
|
1547 |
2.10.2 Code |
1548 |
|
1549 |
<CODE> ... </CODE> |
1550 |
|
1551 |
The Code element indicates an example of code; typically |
1552 |
rendered as monospaced . Do not confuse with the |
1553 |
Preformatted Text element. |
1554 |
|
1555 |
2.10.3 Emphasis |
1556 |
|
1557 |
<EM> ... </EM> |
1558 |
|
1559 |
The Emphasis element indicates typographic emphasis, |
1560 |
typically rendered as italics. |
1561 |
|
1562 |
2.10.4 Keyboard |
1563 |
|
1564 |
<KBD> ... </KBD> |
1565 |
|
1566 |
The Keyboard element indicates text typed by a user; |
1567 |
typically rendered as monospaced . It might commonly be |
1568 |
|
1569 |
Berners-Lee, Connolly, et. al. Page 28 |
1570 |
|
1571 |
HTML 2.0 November 28, 1994 |
1572 |
|
1573 |
|
1574 |
used in an instruction manual. |
1575 |
|
1576 |
2.10.5 Sample |
1577 |
|
1578 |
<SAMP> ... </SAMP> |
1579 |
|
1580 |
The Sample element indicates a sequence of literal |
1581 |
characters; typically rendered as monospaced. |
1582 |
|
1583 |
2.10.6 Strong |
1584 |
|
1585 |
<STRONG> ... </STRONG> |
1586 |
|
1587 |
The Strong element indicates strong typographic |
1588 |
emphasis, typically rendered in bold. |
1589 |
|
1590 |
2.10.7 Variable |
1591 |
|
1592 |
<VAR> ... </VAR> |
1593 |
|
1594 |
The Variable element indicates a variable name; |
1595 |
typically rendered as italic. |
1596 |
|
1597 |
2.11 Character Format Elements |
1598 |
|
1599 |
Character format elements are used to specify the format |
1600 |
of marked text. Example of use: |
1601 |
|
1602 |
2.11.1 Bold |
1603 |
|
1604 |
<B> ... </B> |
1605 |
|
1606 |
The Bold element specifies that the text should be |
1607 |
rendered in boldface, where available. Otherwise, |
1608 |
alternative mapping is allowed. |
1609 |
|
1610 |
2.11.2 Italic |
1611 |
|
1612 |
<I> ... </I> |
1613 |
|
1614 |
The Italic element specifies that the text should be |
1615 |
rendered in italic font, where available. Otherwise, |
1616 |
alternative mapping is allowed. |
1617 |
|
1618 |
2.11.3 Teletype |
1619 |
|
1620 |
<TT> ... </TT> |
1621 |
|
1622 |
The Teletype element specifies that the text should be |
1623 |
rendered in fixed-width typewriter font. |
1624 |
|
1625 |
Berners-Lee, Connolly, et. al. Page 29 |
1626 |
|
1627 |
HTML 2.0 November 28, 1994 |
1628 |
|
1629 |
|
1630 |
|
1631 |
2.12 Image Element |
1632 |
|
1633 |
<IMG> |
1634 |
|
1635 |
Level 0 |
1636 |
|
1637 |
The Image element is used to incorporate in-line |
1638 |
graphics (typically icons or small graphics) into an |
1639 |
HTML document. This element cannot be used for embedding |
1640 |
other HTML text. |
1641 |
|
1642 |
HTML user agents that cannot render in-line images |
1643 |
ignore the Image element unless it contains the ALT |
1644 |
attribute. Note that some HTML user agents can render |
1645 |
linked graphics but not in-line graphics. If a graphic |
1646 |
is essential, you may want to create a link to it rather |
1647 |
than to put it in-line. If the graphic is not essential, |
1648 |
then the Image element is appropriate. |
1649 |
|
1650 |
The Image element, which is empty (no closing tag), has |
1651 |
these attributes: |
1652 |
|
1653 |
ALIGN |
1654 |
|
1655 |
The ALIGN attribute accepts the values TOP or MIDDLE or |
1656 |
BOTTOM, which specifies if the following line of text is |
1657 |
aligned with the top, middle, or bottom of the graphic. |
1658 |
|
1659 |
ALT |
1660 |
|
1661 |
Optional text as an alternative to the graphic for |
1662 |
rendering in non-graphical environments. Alternate text |
1663 |
should be provided whenever the graphic is not rendered. |
1664 |
Alternate text is mandatory for Level 0 documents. |
1665 |
Example of use: |
1666 |
|
1667 |
<IMG SRC="triangle.gif" ALT="Warning:"> Be sure to read |
1668 |
these instructions. |
1669 |
|
1670 |
ISMAP |
1671 |
|
1672 |
The ISMAP (is map) attribute identifies an image as an |
1673 |
image map. Image maps are graphics in which certain |
1674 |
regions are mapped to URLs. By clicking on different |
1675 |
regions, different resources can be accessed from the |
1676 |
same graphic. Example of use: |
1677 |
|
1678 |
<A HREF="http://machine/htbin/imagemap/sample"> |
1679 |
<IMG SRC="sample.gif" ISMAP> |
1680 |
|
1681 |
Berners-Lee, Connolly, et. al. Page 30 |
1682 |
|
1683 |
HTML 2.0 November 28, 1994 |
1684 |
|
1685 |
|
1686 |
</A> |
1687 |
|
1688 |
SRC |
1689 |
|
1690 |
The value of the SRC attribute is the URL of the |
1691 |
document to be embedded; only images can be embedded, |
1692 |
not HTML text. Its syntax is the same as that of the |
1693 |
HREF attribute of the <A> tag. SRC is mandatory. Image |
1694 |
elements are allowed within anchors. |
1695 |
|
1696 |
Example of use: |
1697 |
|
1698 |
<IMG SRC ="triangle.gif">Be sure to read these |
1699 |
instructions. |
1700 |
|
1701 |
2.13 List Elements |
1702 |
|
1703 |
HTML supports several types of lists, all of which may |
1704 |
be nested. |
1705 |
|
1706 |
2.13.1 Definition List |
1707 |
|
1708 |
<DL> ... </DL> |
1709 |
|
1710 |
Level 0 |
1711 |
|
1712 |
A definition list is a list of terms and corresponding |
1713 |
definitions. Definition lists are typically formatted |
1714 |
with the term flush-left and the definition, formatted |
1715 |
paragraph style, indented after the term. |
1716 |
|
1717 |
Example of use: |
1718 |
|
1719 |
<DL> |
1720 |
<DT>Term<DD>This is the definition of the first term. |
1721 |
<DT>Term<DD>This is the definition of the second term. |
1722 |
</DL> |
1723 |
|
1724 |
If the DT term does not fit in the DT column (one third |
1725 |
of the display area), it may be extended across the page |
1726 |
with the DD section moved to the next line, or it may be |
1727 |
wrapped onto successive lines of the left hand column. |
1728 |
|
1729 |
Single occurrences of a <DT> tag without a subsequent |
1730 |
<DD> tag are allowed, and have the same significance as |
1731 |
if the <DD> tag had been present with no text. |
1732 |
|
1733 |
The opening list tag must be <DL> and must be |
1734 |
immediately followed by the first term (<DT>). |
1735 |
|
1736 |
|
1737 |
Berners-Lee, Connolly, et. al. Page 31 |
1738 |
|
1739 |
HTML 2.0 November 28, 1994 |
1740 |
|
1741 |
|
1742 |
The definition list type can take the COMPACT attribute, |
1743 |
which suggests that a compact rendering be used, because |
1744 |
the list items are small and/or the entire list is |
1745 |
large. |
1746 |
|
1747 |
Unless you provide the COMPACT attribute, the HTML user |
1748 |
agent may leave white space between successive DT, DD |
1749 |
pairs.The COMPACT attribute may also reduce the width of |
1750 |
the left-hand (DT) column. |
1751 |
|
1752 |
If using the COMPACT attribute, the opening list tag |
1753 |
must be <DL COMPACT>, which must be immediately followed |
1754 |
by the first <DT> tag: |
1755 |
|
1756 |
<DL COMPACT> |
1757 |
<DT>Term<DD>This is the first definition in compact format. |
1758 |
<DT>Term<DD>This is the second definition in compact format. |
1759 |
</DL> |
1760 |
|
1761 |
2.13.2 Directory List |
1762 |
|
1763 |
<DIR> ... </DIR> |
1764 |
|
1765 |
Level 0 |
1766 |
|
1767 |
A Directory List element is used to present a list of |
1768 |
items containing up to 20 characters each. Items in a |
1769 |
directory list may be arranged in columns, typically 24 |
1770 |
characters wide. If the HTML user agent can optimize the |
1771 |
column width as function of the widths of individual |
1772 |
elements, so much the better. |
1773 |
|
1774 |
A directory list must begin with the <DIR> tag which is |
1775 |
immediately followed by a <LI> (list item) tag: |
1776 |
|
1777 |
<DIR> |
1778 |
<LI>A-H<LI>I-M |
1779 |
<LI>M-R<LI>S-Z |
1780 |
</DIR> |
1781 |
|
1782 |
2.13.3 Menu List |
1783 |
|
1784 |
<MENU> ... </MENU> |
1785 |
|
1786 |
Level 0 |
1787 |
|
1788 |
A menu list is a list of items with typically one line |
1789 |
per item. The menu list style is more compact than the |
1790 |
style of an unordered list. |
1791 |
|
1792 |
|
1793 |
Berners-Lee, Connolly, et. al. Page 32 |
1794 |
|
1795 |
HTML 2.0 November 28, 1994 |
1796 |
|
1797 |
|
1798 |
A menu list must begin with a <MENU> tag which is |
1799 |
immediately followed by a <LI> (list item) tag: |
1800 |
|
1801 |
<MENU> |
1802 |
<LI>First item in the list. |
1803 |
<LI>Second item in the list. |
1804 |
<LI>Third item in the list. |
1805 |
</MENU> |
1806 |
|
1807 |
2.13.4 Ordered List |
1808 |
|
1809 |
<OL> ... </OL> |
1810 |
|
1811 |
Level 0 |
1812 |
|
1813 |
The Ordered List element is used to present a numbered |
1814 |
list of items, sorted by sequence or order of |
1815 |
importance. |
1816 |
|
1817 |
An ordered list must begin with the <OL> tag which is |
1818 |
immediately followed by a <LI> (list item) tag: |
1819 |
|
1820 |
<OL> |
1821 |
<LI>Click the Web button to open the Open the URL window. |
1822 |
<LI>Enter the URL number in the text field of the Open URL |
1823 |
window. The Web document you specified is displayed. |
1824 |
<LI>Click highlighted text to move from one link to another. |
1825 |
</OL> |
1826 |
|
1827 |
The Ordered List element can take the COMPACT attribute, |
1828 |
which suggests that a compact rendering be used. |
1829 |
|
1830 |
2.13.5 Unordered List |
1831 |
|
1832 |
<UL> ... </UL> |
1833 |
|
1834 |
Level 0 |
1835 |
|
1836 |
The Unordered List element is used to present a list of |
1837 |
items which is typically separated by white space and/or |
1838 |
marked by bullets. |
1839 |
|
1840 |
An unordered list must begin with the <UL> tag which is |
1841 |
immediately followed by a <LI> (list item) tag: |
1842 |
|
1843 |
<UL> |
1844 |
<LI>First list item |
1845 |
<LI>Second list item |
1846 |
<LI>Third list item |
1847 |
</UL> |
1848 |
|
1849 |
Berners-Lee, Connolly, et. al. Page 33 |
1850 |
|
1851 |
HTML 2.0 November 28, 1994 |
1852 |
|
1853 |
|
1854 |
|
1855 |
2.14 Other Elements |
1856 |
|
1857 |
2.14.1 Paragraph |
1858 |
|
1859 |
<P> |
1860 |
|
1861 |
Level 0 |
1862 |
|
1863 |
The Paragraph element indicates a paragraph. The exact |
1864 |
indentation, leading, etc. of a paragraph is not defined |
1865 |
and may be a function of other tags, style sheets, etc. |
1866 |
|
1867 |
Typically, paragraphs are surrounded by a vertical space |
1868 |
of one line or half a line. This is typically not the |
1869 |
case within the Address element and or is never the case |
1870 |
within the Preformatted Text element. With some HTML |
1871 |
user agents, the first line in a paragraph is indented. |
1872 |
|
1873 |
Example of use: |
1874 |
|
1875 |
<H1>This Heading Precedes the Paragraph</H1> |
1876 |
<P>This is the text of the first paragraph. |
1877 |
<P>This is the text of the second paragraph. Although you |
1878 |
do not need to start paragraphs on new lines, maintaining |
1879 |
this convention facilitates document maintenance. |
1880 |
<P>This is the text of a third paragraph. |
1881 |
|
1882 |
2.14.2 Preformatted Text |
1883 |
|
1884 |
<PRE> ... </PRE> |
1885 |
|
1886 |
Level 0 |
1887 |
|
1888 |
The Preformatted Text element presents blocks of text in |
1889 |
fixed-width font, and so is suitable for text that has |
1890 |
been formatted on screen. |
1891 |
|
1892 |
The <PRE> tag may be used with the optional WIDTH |
1893 |
attribute, which is a Level 1 feature. The WIDTH |
1894 |
attribute specifies the maximum number of characters for |
1895 |
a line and allows the HTML user agent to select a |
1896 |
suitable font and indentation. If the WIDTH attribute is |
1897 |
not present, a width of 80 characters is assumed. Where |
1898 |
the WIDTH attribute is supported, widths of 40, 80 and |
1899 |
132 characters should be presented optimally, with other |
1900 |
widths being rounded up. |
1901 |
|
1902 |
Within preformatted text: |
1903 |
|
1904 |
|
1905 |
Berners-Lee, Connolly, et. al. Page 34 |
1906 |
|
1907 |
HTML 2.0 November 28, 1994 |
1908 |
|
1909 |
|
1910 |
- Line breaks within the text are rendered as a move |
1911 |
to the beginning of the next line. |
1912 |
|
1913 |
- The <P> tag should not be used. If found, it should |
1914 |
be rendered as a move to the beginning of the next line. |
1915 |
|
1916 |
- Anchor elements and character highlighting elements |
1917 |
may be used. |
1918 |
|
1919 |
- Elements that define paragraph formatting |
1920 |
(headings, address, etc.) must not be used. |
1921 |
|
1922 |
- The ASCII horizontal tab character must be |
1923 |
interpreted as the smallest positive nonzero number of |
1924 |
spaces which will leave the number of characters so far |
1925 |
on the line as a multiple of 8. Its use is not |
1926 |
recommended however. |
1927 |
|
1928 |
NOTE: References to the "beginning of a new line" do not |
1929 |
imply that the renderer is forbidden from using a |
1930 |
constant left indent for rendering preformatted text. |
1931 |
The left indent may be constrained by the width |
1932 |
required. |
1933 |
|
1934 |
Example of use: |
1935 |
|
1936 |
<PRE WIDTH="80"> |
1937 |
|
1938 |
This is an example line. |
1939 |
|
1940 |
</PRE> |
1941 |
|
1942 |
NOTE: Within a Preformatted Text element, the constraint |
1943 |
that the rendering must be on a fixed horizontal |
1944 |
character pitch may limit or prevent the ability of the |
1945 |
HTML user agent to render highlighting elements |
1946 |
specially. |
1947 |
|
1948 |
2.14.3 Line Break |
1949 |
|
1950 |
<BR> |
1951 |
|
1952 |
Level 0 |
1953 |
|
1954 |
The Line Break element specifies that a new line must be |
1955 |
started at the given point. A new line indents the same |
1956 |
as that of line-wrapped text. |
1957 |
|
1958 |
Example of use: |
1959 |
|
1960 |
|
1961 |
Berners-Lee, Connolly, et. al. Page 35 |
1962 |
|
1963 |
HTML 2.0 November 28, 1994 |
1964 |
|
1965 |
|
1966 |
<P> |
1967 |
Pease porridge hot<BR> |
1968 |
Pease porridge cold<BR> |
1969 |
Pease porridge in the pot<BR> |
1970 |
Nine days old. |
1971 |
|
1972 |
2.14.4 Horizontal Rule |
1973 |
|
1974 |
<HR> |
1975 |
|
1976 |
Level 0 |
1977 |
|
1978 |
A Horizontal Rule element is a divider between sections |
1979 |
of text such as a full width horizontal rule or |
1980 |
equivalent graphic. |
1981 |
|
1982 |
Example of use: |
1983 |
|
1984 |
<HR> |
1985 |
<ADDRESS>November 28, 1994, CERN</ADDRESS> |
1986 |
</BODY> |
1987 |
|
1988 |
2.15 Form Elements |
1989 |
|
1990 |
Forms are created by placing input fields within |
1991 |
paragraphs, preformatted/literal text, and lists. This |
1992 |
gives considerable flexibility in designing the layout |
1993 |
of forms. |
1994 |
|
1995 |
The following elements (all are HTML 2 features) are |
1996 |
used to create forms: |
1997 |
|
1998 |
FORM |
1999 |
|
2000 |
A form within a document. |
2001 |
|
2002 |
INPUT |
2003 |
|
2004 |
One input field. |
2005 |
|
2006 |
OPTION |
2007 |
|
2008 |
One option within a Select element. |
2009 |
|
2010 |
SELECT |
2011 |
|
2012 |
A selection from a finite set of options. |
2013 |
|
2014 |
TEXTAREA |
2015 |
|
2016 |
|
2017 |
Berners-Lee, Connolly, et. al. Page 36 |
2018 |
|
2019 |
HTML 2.0 November 28, 1994 |
2020 |
|
2021 |
|
2022 |
A multi-line input field. |
2023 |
|
2024 |
Each variable field is defined by an Input, Textarea, or |
2025 |
Option element and must have an NAME attribute to |
2026 |
identify its value in the data returned when the form is |
2027 |
submitted. |
2028 |
|
2029 |
Example of use (a questionnaire form): |
2030 |
|
2031 |
<H1>Sample Questionnaire</H1> |
2032 |
<P>Please fill out this questionnaire: |
2033 |
<FORM METHOD="POST" ACTION="http://www.hal.com/sample"> |
2034 |
<P>Your name: <INPUT NAME="name" size="48"> |
2035 |
<P>Male <INPUT NAME="gender" TYPE=RADIO VALUE="male"> |
2036 |
<P>Female <INPUT NAME="gender" TYPE=RADIO VALUE="female"> |
2037 |
<P>Number in family: <INPUT NAME="family" TYPE=text> |
2038 |
<P>Cities in which you maintain a residence: |
2039 |
<UL> |
2040 |
<LI>Kent <INPUT NAME="city" TYPE=checkbox VALUE="kent"> |
2041 |
<LI>Miami <INPUT NAME="city" TYPE=checkbox VALUE="miami"> |
2042 |
<LI>Other <TEXTAREA NAME="other" cols=48 rows=4></textarea> |
2043 |
</UL> |
2044 |
Nickname: <INPUT NAME="nickname" SIZE="42"> |
2045 |
<P>Thank you for responding to this questionnaire. |
2046 |
<P><INPUT TYPE=SUBMIT> <INPUT TYPE=RESET> |
2047 |
</FORM> |
2048 |
|
2049 |
In the example above, the <P> and <UL> tags have been |
2050 |
used to lay out the text and input fields. The HTML user |
2051 |
agent is responsible for handling which field will |
2052 |
currently get keyboard input. |
2053 |
|
2054 |
Many platforms have existing conventions for forms, for |
2055 |
example, using Tab and Shift keys to move the keyboard |
2056 |
focus forwards and backwards between fields, and using |
2057 |
the Enter key to submit the form. In the example, the |
2058 |
SUBMIT and RESET buttons are specified explicitly with |
2059 |
special purpose fields. The SUBMIT button is used to e- |
2060 |
mail the form or send its contents to the server as |
2061 |
specified by the ACTION attribute, while RESET resets |
2062 |
the fields to their initial values. When the form |
2063 |
consists of a single text field, it may be appropriate |
2064 |
to leave such buttons out and rely on the Enter key. |
2065 |
|
2066 |
The Input element is used for a large variety of types |
2067 |
of input fields. |
2068 |
|
2069 |
To let users enter more than one line of text, use the |
2070 |
Textarea element. |
2071 |
|
2072 |
|
2073 |
Berners-Lee, Connolly, et. al. Page 37 |
2074 |
|
2075 |
HTML 2.0 November 28, 1994 |
2076 |
|
2077 |
|
2078 |
2.15.1 Representing Choices |
2079 |
|
2080 |
The radio button and checkbox types of input field can |
2081 |
be used to specify multiple choice forms in which every |
2082 |
alternative is visible as part of the form. An |
2083 |
alternative is to use the Select element which is |
2084 |
typically rendered in a more compact fashion as a pull |
2085 |
down combo list. |
2086 |
|
2087 |
2.15.2 Form |
2088 |
|
2089 |
<FORM> ... </FORM> |
2090 |
|
2091 |
Level 2 |
2092 |
|
2093 |
The Form element is used to delimit a data input form. |
2094 |
There can be several forms in a single document, but the |
2095 |
Form element can't be nested. |
2096 |
|
2097 |
The ACTION attribute is a URL specifying the location to |
2098 |
which the contents of the form is submitted to elicit a |
2099 |
response. If the ACTION attribute is missing, the URL of |
2100 |
the document itself is assumed. The way data is |
2101 |
submitted varies with the access protocol of the URL, |
2102 |
and with the values of the METHOD and ENCTYPE |
2103 |
attributes. |
2104 |
|
2105 |
In general: |
2106 |
|
2107 |
- the METHOD attribute selects variations in the |
2108 |
protocol. |
2109 |
|
2110 |
- the ENCTYPE attribute specifies the format of the |
2111 |
submitted data in case the protocol does not impose a |
2112 |
format itself. |
2113 |
|
2114 |
The Level 2 specification defines and requires support |
2115 |
for the HTTP access protocol only. |
2116 |
|
2117 |
When the ACTION attribute is set to an HTTP URL, the |
2118 |
METHOD attribute must be set to an HTTP method as |
2119 |
defined by the HTTP method specification in the IETF |
2120 |
draft HTTP standard. The default METHOD is GET, although |
2121 |
for many applications, the POST method may be preferred. |
2122 |
With the post method, the ENCTYPE attribute is a MIME |
2123 |
type specifying the format of the posted data; by |
2124 |
default, is application/x-www-form-urlencoded. |
2125 |
|
2126 |
Under any protocol, the submitted contents of the form |
2127 |
logically consist of name/value pairs. The names are |
2128 |
|
2129 |
Berners-Lee, Connolly, et. al. Page 38 |
2130 |
|
2131 |
HTML 2.0 November 28, 1994 |
2132 |
|
2133 |
|
2134 |
usually equal to the NAME attributes of the various |
2135 |
interactive elements in the form. |
2136 |
|
2137 |
NOTE: The names are not guaranteed to be unique keys, |
2138 |
nor are the names of form elements required to be |
2139 |
distinct. The values encode the user's input to the |
2140 |
corresponding interactive elements. Elements capable of |
2141 |
displaying a textual or numerical value will return a |
2142 |
name/value pair even when they receive no explicit user |
2143 |
input. |
2144 |
|
2145 |
2.15.3 Input |
2146 |
|
2147 |
<INPUT> |
2148 |
|
2149 |
Level 2 |
2150 |
|
2151 |
The Input element represents a field whose contents may |
2152 |
be edited by the user. |
2153 |
|
2154 |
Attributes of the Input element: |
2155 |
|
2156 |
ALIGN |
2157 |
|
2158 |
Vertical alignment of the image. For use only with |
2159 |
TYPE=IMAGE in HTML level 2. The possible values are |
2160 |
exactly the same as for the ALIGN attribute of the image |
2161 |
element. |
2162 |
|
2163 |
CHECKED |
2164 |
|
2165 |
Indicates that a checkbox or radio button is selected. |
2166 |
Unselected checkboxes and radio buttons do not return |
2167 |
name/value pairs when the form is submitted. |
2168 |
|
2169 |
MAXLENGTH |
2170 |
|
2171 |
Indicates the maximum number of characters that can be |
2172 |
entered into a text field. This can be greater than |
2173 |
specified by the SIZE attribute, in which case the field |
2174 |
will scroll appropriately. The default number of |
2175 |
characters is unlimited. |
2176 |
|
2177 |
NAME |
2178 |
|
2179 |
Symbolic name used when transferring the form's |
2180 |
contents. The NAME attribute is required for most input |
2181 |
types and is normally used to provide a unique |
2182 |
identifier for a field, or for a logically related group |
2183 |
of fields. |
2184 |
|
2185 |
Berners-Lee, Connolly, et. al. Page 39 |
2186 |
|
2187 |
HTML 2.0 November 28, 1994 |
2188 |
|
2189 |
|
2190 |
|
2191 |
SIZE |
2192 |
|
2193 |
Specifies the size or precision of the field according |
2194 |
to its type. For example, to specify a field with a |
2195 |
visible width of 24 characters: |
2196 |
|
2197 |
INPUT TYPE=text SIZE="24" |
2198 |
|
2199 |
SRC |
2200 |
|
2201 |
A URL or URN specifying an image. For use only with |
2202 |
TYPE=IMAGE in HTML Level 2. |
2203 |
|
2204 |
TYPE |
2205 |
|
2206 |
Defines the type of data the field accepts. Defaults to |
2207 |
free text. Several types of fields can be defined with |
2208 |
the type attribute: |
2209 |
|
2210 |
CHECKBOX |
2211 |
|
2212 |
Used for simple Boolean attributes, or for attributes |
2213 |
that can take multiple values at the same time. The |
2214 |
latter is represented by a number of checkbox fields |
2215 |
each of which has the same name. Each selected checkbox |
2216 |
generates a separate name/value pair in the submitted |
2217 |
data, even if this results in duplicate names. The |
2218 |
default value for checkboxes is "on". |
2219 |
|
2220 |
HIDDEN |
2221 |
|
2222 |
No field is presented to the user, but the content of |
2223 |
the field is sent with the submitted form. This value |
2224 |
may be used to transmit state information about |
2225 |
client/server interaction. |
2226 |
|
2227 |
IMAGE |
2228 |
|
2229 |
An image field upon which you can click with a pointing |
2230 |
device, causing the form to be immediately submitted. |
2231 |
The coordinates of the selected point are measured in |
2232 |
pixel units from the upper-left corner of the image, and |
2233 |
are returned (along with the other contents of the form) |
2234 |
in two name/value pairs. The x-coordinate is submitted |
2235 |
under the name of the field with .x appended, and the y- |
2236 |
coordinate is submitted under the name of the field with |
2237 |
.y appended. Any VALUE attribute is ignored. The image |
2238 |
itself is specified by the SRC attribute, exactly as for |
2239 |
the Image element. |
2240 |
|
2241 |
Berners-Lee, Connolly, et. al. Page 40 |
2242 |
|
2243 |
HTML 2.0 November 28, 1994 |
2244 |
|
2245 |
|
2246 |
|
2247 |
NOTE: In a future version of the HTML specification, the |
2248 |
IMAGE functionality may be folded into an enhanced |
2249 |
SUBMIT field. |
2250 |
|
2251 |
PASSWORD is the same as the TEXT attribute, except that |
2252 |
text is not displayed as it is entered. |
2253 |
|
2254 |
RADIO is used for attributes that accept a single value |
2255 |
from a set of alternatives. Each radio button field in |
2256 |
the group should be given the same name. Only the |
2257 |
selected radio button in the group generates a |
2258 |
name/value pair in the submitted data. Radio buttons |
2259 |
require an explicit VALUE attribute. |
2260 |
|
2261 |
RESET is a button that when pressed resets the form's |
2262 |
fields to their specified initial values. The label to |
2263 |
be displayed on the button may be specified just as for |
2264 |
the SUBMIT button. |
2265 |
|
2266 |
SUBMIT is a button that when pressed submits the form. |
2267 |
You can use the VALUE attribute to provide a non- |
2268 |
editable label to be displayed on the button. The |
2269 |
default label is application-specific. If a SUBMIT |
2270 |
button is pressed in order to submit the form, and that |
2271 |
button has a NAME attribute specified, then that button |
2272 |
contributes a name/value pair to the submitted data. |
2273 |
Otherwise, a SUBMIT button makes no contribution to the |
2274 |
submitted data. |
2275 |
|
2276 |
TEXT is used for a single line text entry fields. Use in |
2277 |
conjunction with the SIZE and MAXLENGTH attributes. Use |
2278 |
the Textarea element for text fields which can accept |
2279 |
multiple lines. |
2280 |
|
2281 |
VALUE |
2282 |
|
2283 |
The initial displayed value of the field, if it displays |
2284 |
a textual or numerical value; or the value to be |
2285 |
returned when the field is selected, if it displays a |
2286 |
Boolean value. This attribute is required for radio |
2287 |
buttons. |
2288 |
|
2289 |
2.15.4 Option |
2290 |
|
2291 |
<OPTION> |
2292 |
|
2293 |
Level 2 |
2294 |
|
2295 |
The Option element can only occur within a Select |
2296 |
|
2297 |
Berners-Lee, Connolly, et. al. Page 41 |
2298 |
|
2299 |
HTML 2.0 November 28, 1994 |
2300 |
|
2301 |
|
2302 |
element. It represents one choice, and can take these |
2303 |
attributes: |
2304 |
|
2305 |
DISABLED |
2306 |
|
2307 |
Proposed. |
2308 |
|
2309 |
SELECTED |
2310 |
|
2311 |
Indicates that this option is initially selected. |
2312 |
|
2313 |
VALUE |
2314 |
|
2315 |
When present indicates the value to be returned if this |
2316 |
option is chosen. The returned value defaults to the |
2317 |
contents of the Option element. |
2318 |
|
2319 |
The contents of the Option element is presented to the |
2320 |
user to represent the option. It is used as a returned |
2321 |
value if the VALUE attribute is not present. |
2322 |
|
2323 |
2.15.5 Select |
2324 |
|
2325 |
<SELECT NAME=... > ... </SELECT> |
2326 |
|
2327 |
Level 2 |
2328 |
|
2329 |
The Select element allows the user to chose one of a set |
2330 |
of alternatives described by textual labels. Every |
2331 |
alternative is represented by the Option element. |
2332 |
|
2333 |
Attributes are: |
2334 |
|
2335 |
ERROR |
2336 |
|
2337 |
Proposed. |
2338 |
|
2339 |
MULTIPLE |
2340 |
|
2341 |
The MULTIPLE attribute is needed when users are allowed |
2342 |
to make several selections, e.g. <SELECT MULTIPLE>. |
2343 |
|
2344 |
NAME |
2345 |
|
2346 |
Specifies the name that will submitted as a name/value |
2347 |
pair. |
2348 |
|
2349 |
SIZE |
2350 |
|
2351 |
Specifies the number of visible items. If this is |
2352 |
|
2353 |
Berners-Lee, Connolly, et. al. Page 42 |
2354 |
|
2355 |
HTML 2.0 November 28, 1994 |
2356 |
|
2357 |
|
2358 |
greater than one, then the resulting form control will |
2359 |
be a list. |
2360 |
|
2361 |
The Select element is typically rendered as a pull down |
2362 |
or pop-up list. For example: |
2363 |
|
2364 |
<SELECT NAME="flavor"> |
2365 |
<OPTION>Vanilla |
2366 |
<OPTION>Strawberry |
2367 |
<OPTION>Rum and Raisin |
2368 |
<OPTION>Peach and Orange |
2369 |
</SELECT> |
2370 |
|
2371 |
If no option is initially marked as selected, then the |
2372 |
first item listed is selected. |
2373 |
|
2374 |
2.15.6 Text Area |
2375 |
|
2376 |
<TEXTAREA> ... </TEXTAREA> |
2377 |
|
2378 |
Level 2 |
2379 |
|
2380 |
The Textarea element lets users enter more than one line |
2381 |
of text. For example: |
2382 |
|
2383 |
<TEXTAREA NAME="address" ROWS=64 COLS=6> |
2384 |
HaL Computer Systems |
2385 |
1315 Dell Avenue |
2386 |
Campbell, California 95008 |
2387 |
</TEXTAREA> |
2388 |
|
2389 |
The text up to the end tag (</TEXTAREA>) is used to |
2390 |
initialize the field's value. This end tag is always |
2391 |
required even if the field is initially blank. When |
2392 |
submitting a form, the line terminators are |
2393 |
implementation dependent. |
2394 |
|
2395 |
In a typical rendering, the ROWS and COLS attributes |
2396 |
determine the visible dimension of the field in |
2397 |
characters. The field is rendered in a fixed-width font. |
2398 |
HTML user agents should allow text to extend beyond |
2399 |
these limits by scrolling as needed. |
2400 |
|
2401 |
NOTE: In the initial design for forms, multi-line text |
2402 |
fields were supported by the Input element with |
2403 |
TYPE=TEXT. Unfortunately, this causes problems for |
2404 |
fields with long text values. SGML's default (Reference |
2405 |
Quantity Set) limits the length of attribute literals to |
2406 |
only 240 characters. The HTML 2.0 SGML declaration |
2407 |
increases the limit to 1024 characters. |
2408 |
|
2409 |
Berners-Lee, Connolly, et. al. Page 43 |
2410 |
|
2411 |
HTML 2.0 November 28, 1994 |
2412 |
|
2413 |
|
2414 |
|
2415 |
2.16 Character Data |
2416 |
|
2417 |
Level 0 |
2418 |
|
2419 |
The characters between HTML tags represent text encoded |
2420 |
according to ISO 8859/1 8-bit single-byte coded graphic |
2421 |
character set known as Latin Alphabet No. 1, or simply |
2422 |
Latin-1. There are 256 character positions in the Latin- |
2423 |
1 encoding. Latin-1 includes characters from most |
2424 |
Western European languages. It consists of the space |
2425 |
character, 186 characters that form a subset of the |
2426 |
graphic characters in ISO 6937/2 (1983), and four |
2427 |
additional characters that are intended for inclusion in |
2428 |
ISO 6937/2. Also see Section 2.4. |
2429 |
|
2430 |
The lower 128 character positions include a space, 33 |
2431 |
control characters, the 26 upper- and lowercase letters |
2432 |
of the english alphabet, 10 numerals and 32 other |
2433 |
printing characters This subset, functionally identical |
2434 |
to ASCII, is defined by ISO 646 7-bit coded character |
2435 |
set for information interchange, also known as the |
2436 |
International Reference Version. ISO 646 is identical in |
2437 |
most respect to the ANSI standard for ASCII (American |
2438 |
Standard Code for Information Interchange). The only |
2439 |
significant difference between ISO 646 and ASCII is the |
2440 |
specific names assigned to the control characters in |
2441 |
positions 00-31 and 127. |
2442 |
|
2443 |
The upper 128 positions include a non-breaking space, a |
2444 |
soft hyphen indicator, 93 graphical characters, 8 |
2445 |
unassigned characters, and 25 control characters. |
2446 |
Because non-breaking space and soft hyphen indicator are |
2447 |
not recognized and interpreted by all HTML user agents, |
2448 |
their use is discouraged. |
2449 |
|
2450 |
There are 58 character positions occupied by control |
2451 |
characters. See Section 2.16.2 for details on the |
2452 |
interpretation of control characters. |
2453 |
|
2454 |
Because certain special characters are subject to |
2455 |
interpretation and special processing, information |
2456 |
providers and HTML user agent implementors should follow |
2457 |
the guidelines in Section 2.16.1. |
2458 |
|
2459 |
Certain characters may not be accessible from your |
2460 |
keyboard, or some part of your system (i.e. translation |
2461 |
software) may not be equipped to deal with 8-bit |
2462 |
character codes. HTML and many HTML user agents provide |
2463 |
character entity references (see Section 2.17.2) and |
2464 |
|
2465 |
Berners-Lee, Connolly, et. al. Page 44 |
2466 |
|
2467 |
HTML 2.0 November 28, 1994 |
2468 |
|
2469 |
|
2470 |
numerical character references (see Section 2.17.3) to |
2471 |
facilitate the entry and interpretation of characters by |
2472 |
name and by numerical position. |
2473 |
|
2474 |
Because certain characters will be interpreted as |
2475 |
markup, they must be represented by markup as described |
2476 |
in Section 2.16.3 and Section 2.16.4. |
2477 |
|
2478 |
2.16.1 Special Characters |
2479 |
|
2480 |
Certain characters have special meaning in HTML |
2481 |
documents. There are two printing characters which may |
2482 |
be interpreted by an HTML application to have an effect |
2483 |
of the format of the text: |
2484 |
|
2485 |
Space |
2486 |
|
2487 |
- Interpreted as a word space (place where a line can |
2488 |
be broken) in all contexts except the Preformatted Text |
2489 |
element. |
2490 |
|
2491 |
- Interpreted as a nonbreaking space within the |
2492 |
Preformatted Text element. |
2493 |
|
2494 |
Hyphen |
2495 |
|
2496 |
- Interpreted as a hyphen glyph in all contexts |
2497 |
|
2498 |
- Interpreted as a potential word space by |
2499 |
hyphenation engine |
2500 |
|
2501 |
2.16.2 Control Characters |
2502 |
|
2503 |
Control characters are non-printable characters that are |
2504 |
typically used for communication and device control, as |
2505 |
format effectors, and as information separators. |
2506 |
|
2507 |
In SGML applications, the use of control characters is |
2508 |
limited in order to maximize the chance of successful |
2509 |
interchange over heterogenous networks and operating |
2510 |
systems. In HTML, only three control characters are |
2511 |
used. The valid control characters and their |
2512 |
interpretation are: |
2513 |
|
2514 |
Horizontal Tab (HT - 9 dec) |
2515 |
|
2516 |
- Interpreted as a word space in all contexts except |
2517 |
preformatted text. |
2518 |
|
2519 |
- Within preformatted text, the tab should be |
2520 |
|
2521 |
Berners-Lee, Connolly, et. al. Page 45 |
2522 |
|
2523 |
HTML 2.0 November 28, 1994 |
2524 |
|
2525 |
|
2526 |
interpreted to shift the horizontal column position to |
2527 |
the next position which is a multiple of 8 on the same |
2528 |
line; that is, col := (col+8) mod 8 |
2529 |
|
2530 |
Line Feed (LF - 10 dec) |
2531 |
|
2532 |
- Interpreted as a word space in all contexts except |
2533 |
preformatted text. |
2534 |
|
2535 |
- Within the Preformatted Text element, the tab |
2536 |
should be interpreted as a shift to the start of a new |
2537 |
line; that is, col := 0; row := row+1 |
2538 |
|
2539 |
Carriage Return (CR - 13 dec) |
2540 |
|
2541 |
- Interpreted as a word space in all contexts. |
2542 |
|
2543 |
2.16.3 Numeric Character References |
2544 |
|
2545 |
Any printing character within the 8-bit character |
2546 |
encoding of ISO 8859/1 (256 character positions) or the |
2547 |
7-bit character encoding of ISO 646 (128 character |
2548 |
positions) may be represented within the text of an HTML |
2549 |
document by a numeric character reference. See Section |
2550 |
2.17.1 for a list of the characters, their names and |
2551 |
input syntax. |
2552 |
|
2553 |
Two reasons for using a numeric character reference: |
2554 |
|
2555 |
- the keyboard does not provide a key for the |
2556 |
character, such as on U.S. keyboards which do not |
2557 |
provide European characters |
2558 |
|
2559 |
- the character may be interpreted as SGML coding, |
2560 |
such as the ampersand (&), double quotes ("), the lesser |
2561 |
(<) and greater (>) characters |
2562 |
|
2563 |
Numeric character references are represented in an HTML |
2564 |
document as SGML entities whose name is number sign (#) |
2565 |
followed by a numeral from 32-126 and 161-255. The HTML |
2566 |
DTD includes a numeric character for each of the |
2567 |
printing characters in Latin-1, so that one may |
2568 |
reference them by number if it is inconvenient to enter |
2569 |
them directly: |
2570 |
|
2571 |
the ampersand (&), double quotes ("), |
2572 |
lesser (<) and greater (>) characters |
2573 |
|
2574 |
2.16.4 Character Entities |
2575 |
|
2576 |
|
2577 |
Berners-Lee, Connolly, et. al. Page 46 |
2578 |
|
2579 |
HTML 2.0 November 28, 1994 |
2580 |
|
2581 |
|
2582 |
Many of the Latin alphabet No. 1 set of printing |
2583 |
characters may be represented within the text of an HTML |
2584 |
document by a character entity. See 2.17.2 for a list of |
2585 |
the characters, names, input syntax, and descriptions. |
2586 |
See 5.2.1 for the SGML entity definitions of "Added |
2587 |
Latin 1 for HTML". |
2588 |
|
2589 |
Two reasons for using a character entity: |
2590 |
|
2591 |
- the keyboard does not provide a key for the |
2592 |
character, such as on U.S. keyboards which do not |
2593 |
provide European characters |
2594 |
|
2595 |
- the character may be interpreted as SGML coding, |
2596 |
such as the ampersand (&), double quotes ("), the lesser |
2597 |
(<) and greater (>) characters |
2598 |
|
2599 |
A character entity is represented in an HTML document as |
2600 |
an SGML entity whose name is defined in the HTML DTD. |
2601 |
The HTML DTD includes a character entity for each of the |
2602 |
SGML markup characters and for each of the printing |
2603 |
characters in the upper half of Latin-1, so that one may |
2604 |
reference them by name if it is inconvenient to enter |
2605 |
them directly: |
2606 |
|
2607 |
the ampersand (&), double quotes ("), |
2608 |
lesser (<) and greater (>) characters |
2609 |
|
2610 |
Kurt Gödel was a famous logician and mathematician. |
2611 |
|
2612 |
NOTE: To ensure that a string of characters is not |
2613 |
interpreted as markup, represent all occurrences of <, |
2614 |
>, and & by character or entity references. |
2615 |
|
2616 |
NOTE: There are SGML features, CDATA and RCDATA, to |
2617 |
allow most <, >, and & characters to be entered without |
2618 |
the use of entity or character references. Because these |
2619 |
features tend to be used and implemented inconsistently, |
2620 |
and because they require 8-bit characters to represent |
2621 |
non-ASCII characters, they are not used in this version |
2622 |
of the HTML DTD. An earlier HTML specification included |
2623 |
an Example element (<XMP>) whose syntax is not |
2624 |
expressible in SGML. No markup was recognized inside of |
2625 |
the Example element except the </XMP> end tag. While |
2626 |
HTML user agents are encouraged to support this idiom, |
2627 |
its use is deprecated. |
2628 |
|
2629 |
2.17 Character Entity Sets |
2630 |
|
2631 |
The following entity names are used in HTML, always |
2632 |
|
2633 |
Berners-Lee, Connolly, et. al. Page 47 |
2634 |
|
2635 |
HTML 2.0 November 28, 1994 |
2636 |
|
2637 |
|
2638 |
prefixed by ampersand (&) and followed by a semicolon as |
2639 |
shown. |
2640 |
|
2641 |
They represent particular graphic characters which have |
2642 |
special meanings in places in the markup, or may not be |
2643 |
part of the character set available to the writer. |
2644 |
|
2645 |
2.17.1 Numeric and Special Graphic Entities |
2646 |
|
2647 |
The following table lists each of the supported |
2648 |
characters specified in the Numeric and Special Graphic |
2649 |
entity set, along with its name, syntax for use, and |
2650 |
description. This list is derived from ISO Standard |
2651 |
8879:1986//ENTITIES Numeric and Special Graphic//EN |
2652 |
however HTML does not provide support for the entire |
2653 |
entity set. Only the entities listed below are |
2654 |
supported. |
2655 |
|
2656 |
GLYPH NAME SYNTAX DESCRIPTION |
2657 |
< lt < Less than sign |
2658 |
> gt > Greater than sign |
2659 |
& amp & Ampersand |
2660 |
" quot " Double quote sign |
2661 |
|
2662 |
2.17.2 ISO Latin 1 Character Entities |
2663 |
|
2664 |
The following table lists each of the characters |
2665 |
specified in the Added Latin 1 entity set, along with |
2666 |
its name, syntax for use, and description. This list is |
2667 |
derived from ISO Standard 8879:1986//ENTITIES Added |
2668 |
Latin 1//EN. HTML supports the entire entity set. |
2669 |
|
2670 |
NAME SYNTAX DESCRIPTION |
2671 |
|
2672 |
Aacute Á Capital A, acute accent |
2673 |
Agrave À Capital A, grave accent |
2674 |
Acirc  Capital A, circumflex accent |
2675 |
Atilde à Capital A, tilde |
2676 |
Aring Å Capital A, ring |
2677 |
Auml Ä Capital A, dieresis or umlaut mark |
2678 |
AElig Æ Capital AE dipthong (ligature) |
2679 |
Ccedil Ç Capital C, cedilla |
2680 |
Eacute É Capital E, acute accent |
2681 |
Egrave È Capital E, grave accent |
2682 |
Ecirc Ê Capital E, circumflex accent |
2683 |
Euml Ë Capital E, dieresis or umlaut mark |
2684 |
Iacute Í Capital I, acute accent |
2685 |
Igrave Ì Capital I, grave accent |
2686 |
Icirc Î Capital I, circumflex accent |
2687 |
Iuml Ï Capital I, dieresis or umlaut mark |
2688 |
|
2689 |
Berners-Lee, Connolly, et. al. Page 48 |
2690 |
|
2691 |
HTML 2.0 November 28, 1994 |
2692 |
|
2693 |
|
2694 |
ETH Ð Capital Eth, Icelandic |
2695 |
Ntilde Ñ Capital N, tilde |
2696 |
Oacute Ó Capital O, acute accent |
2697 |
Ograve Ò Capital O, grave accent |
2698 |
Ocirc Ô Capital O, circumflex accent |
2699 |
Otilde Õ Capital O, tilde |
2700 |
Ouml Ö Capital O, dieresis or umlaut mark |
2701 |
Oslash Ø Capital O, slash |
2702 |
Uacute Ú Capital U, acute accent |
2703 |
Ugrave Ù Capital U, grave accent |
2704 |
Ucirc Û Capital U, circumflex accent |
2705 |
Uuml Ü Capital U, dieresis or umlaut mark |
2706 |
Yacute Ý Capital Y, acute accent |
2707 |
|
2708 |
THORN Þ Capital THORN, Icelandic |
2709 |
szlig ß Small sharp s, German (sz ligature) |
2710 |
|
2711 |
aacute á Small a, acute accent |
2712 |
agrave à Small a, grave accent |
2713 |
acirc â Small a, circumflex accent |
2714 |
atilde ã Small a, tilde |
2715 |
auml ä Small a, dieresis or umlaut mark |
2716 |
aelig æ Small ae dipthong (ligature) |
2717 |
ccedil ç Small c, cedilla |
2718 |
eacute é Small e, acute accent |
2719 |
egrave è Small e, grave accent |
2720 |
ecirc ê Small e, circumflex accent |
2721 |
euml ë Small e, dieresis or umlaut mark |
2722 |
iacute í Small i, acute accent |
2723 |
igrave ì Small i, grave accent |
2724 |
icirc î Small i, circumflex accent |
2725 |
iuml ï Small i, dieresis or umlaut mark |
2726 |
eth ð Small eth, Icelandic |
2727 |
ntilde ñ Small n, tilde |
2728 |
oacute ó Small o, acute accent |
2729 |
ograve ò Small o, grave accent |
2730 |
ocirc ô Small o, circumflex accent |
2731 |
otilde õ Small o, tilde |
2732 |
ouml ö Small o, dieresis or umlaut mark |
2733 |
oslash ø Small o, slash |
2734 |
uacute ú Small u, acute accent |
2735 |
ugrave ù Small u, grave accent |
2736 |
ucirc û Small u, circumflex accent |
2737 |
uuml ü Small u, dieresis or umlaut mark |
2738 |
yacute ý Small y, acute accent |
2739 |
thorn þ Small thorn, Icelandic |
2740 |
yuml ÿ Small y, dieresis or umlaut mark |
2741 |
|
2742 |
2.17.3 Numerical Character References |
2743 |
|
2744 |
|
2745 |
Berners-Lee, Connolly, et. al. Page 49 |
2746 |
|
2747 |
HTML 2.0 November 28, 1994 |
2748 |
|
2749 |
|
2750 |
This list, sorted numerically, is derived from ISO |
2751 |
8859/1 8-bit single-byte coded graphic character set: |
2752 |
|
2753 |
REFERENCE DESCRIPTION |
2754 |
|
2755 |
� -  Unused |
2756 |
	 Horizontal tab |
2757 |
Line feed |
2758 |
 -  Unused |
2759 |
|
2760 |
  Space |
2761 |
! Exclamation mark |
2762 |
" Quotation mark |
2763 |
# Number sign |
2764 |
$ Dollar sign |
2765 |
% Percent sign |
2766 |
& Ampersand |
2767 |
' Apostrophe |
2768 |
( Left parenthesis |
2769 |
) Right parenthesis |
2770 |
* Asterisk |
2771 |
+ Plus sign |
2772 |
, Comma |
2773 |
- Hyphen |
2774 |
. Period (fullstop) |
2775 |
/ Solidus (slash) |
2776 |
|
2777 |
0 - 9 Digits 0-9 |
2778 |
|
2779 |
: Colon |
2780 |
; Semi-colon |
2781 |
< Less than |
2782 |
= Equals aign |
2783 |
> Greater than |
2784 |
? Question mark |
2785 |
@ Commercial at |
2786 |
|
2787 |
A - Z Letters A-Z |
2788 |
|
2789 |
[ Left square bracket |
2790 |
\ Reverse solidus (backslash) |
2791 |
] Right square bracket |
2792 |
_ Horizontal bar |
2793 |
` Acute accent |
2794 |
|
2795 |
a - z Letters a-z |
2796 |
|
2797 |
{ Left curly brace |
2798 |
| Vertical bar |
2799 |
} Right curly brace |
2800 |
|
2801 |
Berners-Lee, Connolly, et. al. Page 50 |
2802 |
|
2803 |
HTML 2.0 November 28, 1994 |
2804 |
|
2805 |
|
2806 |
~ Tilde |
2807 |
|
2808 |
 -   Unused |
2809 |
|
2810 |
¡ Inverted exclamation |
2811 |
¢ Cent sign |
2812 |
£ Pound sterling |
2813 |
¤ General currency sign |
2814 |
¥ Yen sign |
2815 |
¦ Broken vertical bar |
2816 |
§ Section sign |
2817 |
¨ Umlaut (dieresis) |
2818 |
© Copyright |
2819 |
ª Feminine ordinal |
2820 |
« Left angle quote, guillemotleft |
2821 |
¬ Not sign |
2822 |
­ Soft hyphen |
2823 |
® Registered trademark |
2824 |
¯ Macron accent |
2825 |
° Degree sign |
2826 |
± Plus or minus |
2827 |
² Superscript two |
2828 |
³ Superscript three |
2829 |
´ Acute accent |
2830 |
µ Micro sign |
2831 |
¶ Paragraph sign |
2832 |
· Middle dot |
2833 |
¸ Cedilla |
2834 |
¹ Superscript one |
2835 |
º Masculine ordinal |
2836 |
» Right angle quote, guillemotright |
2837 |
¼ Fraction one-fourth |
2838 |
½ Fraction one-half |
2839 |
¾ Fraction three-fourths |
2840 |
¿ Inverted question mark |
2841 |
|
2842 |
À Capital A, acute accent |
2843 |
Á Capital A, grave accent |
2844 |
 Capital A, circumflex accent |
2845 |
à Capital A, tilde |
2846 |
Ä Capital A, ring |
2847 |
Å Capital A, dieresis or umlaut mark |
2848 |
Æ Capital AE dipthong (ligature) |
2849 |
Ç Capital C, cedilla |
2850 |
È Capital E, acute accent |
2851 |
É Capital E, grave accent |
2852 |
Ê Capital E, circumflex accent |
2853 |
Ë Capital E, dieresis or umlaut mark |
2854 |
Ì Capital I, acute accent |
2855 |
Í Capital I, grave accent |
2856 |
|
2857 |
Berners-Lee, Connolly, et. al. Page 51 |
2858 |
|
2859 |
HTML 2.0 November 28, 1994 |
2860 |
|
2861 |
|
2862 |
Î Capital I, circumflex accent |
2863 |
Ï Capital I, dieresis or umlaut mark |
2864 |
Ð Capital Eth, Icelandic |
2865 |
Ñ Capital N, tilde |
2866 |
Ò Capital O, acute accent |
2867 |
Ó Capital O, grave accent |
2868 |
Ô Capital O, circumflex accent |
2869 |
Õ Capital O, tilde |
2870 |
Ö Capital O, dieresis or umlaut mark |
2871 |
|
2872 |
× Multiply sign |
2873 |
|
2874 |
Ø Capital O, slash |
2875 |
Ù Capital U, acute accent |
2876 |
Ú Capital U, grave accent |
2877 |
Û Capital U, circumflex accent |
2878 |
Ü Capital U, dieresis or umlaut mark |
2879 |
Ý Capital Y, acute accent |
2880 |
|
2881 |
Þ Capital THORN, Icelandic |
2882 |
ß Small sharp s, German (sz ligature) |
2883 |
|
2884 |
à Small a, acute accent |
2885 |
á Small a, grave accent |
2886 |
â Small a, circumflex accent |
2887 |
ã Small a, tilde |
2888 |
ä Small a, tilde |
2889 |
å Small a, dieresis or umlaut mark |
2890 |
æ Small ae dipthong (ligature) |
2891 |
ç Small c, cedilla |
2892 |
è Small e, acute accent |
2893 |
é Small e, grave accent |
2894 |
ê Small e, circumflex accent |
2895 |
ë Small e, dieresis or umlaut mark |
2896 |
ì Small i, acute accent |
2897 |
í Small i, grave accent |
2898 |
î Small i, circumflex accent |
2899 |
ï Small i, dieresis or umlaut mark |
2900 |
ð Small eth, Icelandic |
2901 |
ñ Small n, tilde |
2902 |
ò Small o, acute accent |
2903 |
ó Small o, grave accent |
2904 |
ô Small o, circumflex accent |
2905 |
õ Small o, tilde |
2906 |
ö Small o, dieresis or umlaut mark |
2907 |
|
2908 |
÷ Division sign |
2909 |
|
2910 |
ø Small o, slash |
2911 |
ù Small u, acute accent |
2912 |
|
2913 |
Berners-Lee, Connolly, et. al. Page 52 |
2914 |
|
2915 |
HTML 2.0 November 28, 1994 |
2916 |
|
2917 |
|
2918 |
ú Small u, grave accent |
2919 |
û Small u, circumflex accent |
2920 |
ü Small u, dieresis or umlaut mark |
2921 |
ý Small y, acute accent |
2922 |
þ Small thorn, Icelandic |
2923 |
ÿ Small y, dieresis or umlaut mark |
2924 |
|
2925 |
3. Security Considerations |
2926 |
|
2927 |
Anchors, embedded images, and all other elements which |
2928 |
contain URIs as parameters may cause the URI to be |
2929 |
dereferenced in response to user input. In this case, |
2930 |
the security considerations of the URI specification |
2931 |
apply. |
2932 |
|
2933 |
Documents may be constructed whose visible contents |
2934 |
mislead the reader to follow a link to unsuitable or |
2935 |
offensive material. |
2936 |
|
2937 |
4. Obsolete and Proposed Features |
2938 |
|
2939 |
4.1 Obsolete Features |
2940 |
|
2941 |
This section describes elements that are no longer part |
2942 |
of HTML. Client implementors should implement these |
2943 |
obsolete elements for compatibility with previous |
2944 |
versions of the HTML specification. |
2945 |
|
2946 |
4.1.1 Comment |
2947 |
|
2948 |
The Comment element is used to delimit unneeded text and |
2949 |
comments. The Comment element has been introduced in |
2950 |
some HTML applications but should be replaced by the |
2951 |
SGML comment feature in new HTML user agents (see |
2952 |
Section 2.6.5). |
2953 |
|
2954 |
4.1.2 Highlighted Phrase |
2955 |
|
2956 |
The Highlighted Phrase element (<HP>) should be ignored |
2957 |
if not implemented. This element has been replaced by |
2958 |
more meaningful elements (see Section 2.9). |
2959 |
|
2960 |
Example of use: |
2961 |
|
2962 |
<HP1>first highlighted phrase</HP1>non |
2963 |
|
2964 |
highlighted text<HP2>second highlighted |
2965 |
phrase</HP2> etc. |
2966 |
|
2967 |
4.1.3 Plain Text |
2968 |
|
2969 |
Berners-Lee, Connolly, et. al. Page 53 |
2970 |
|
2971 |
HTML 2.0 November 28, 1994 |
2972 |
|
2973 |
|
2974 |
|
2975 |
<PLAINTEXT> |
2976 |
|
2977 |
The Plain Text element is used to terminates the HTML |
2978 |
entity and to indicate that what follows is not SGML |
2979 |
which does not require parsing. Instead, an old HTTP |
2980 |
convention specified that what followed was an ASCII |
2981 |
(MIME "text/plain") body. Its presence is an |
2982 |
optimization. There is no closing tag. |
2983 |
|
2984 |
Example of use: |
2985 |
|
2986 |
<PLAINTEXT> |
2987 |
0001 This is line one of a long listing |
2988 |
0002 file from <ANY@HOST.INC.COM> which is sent |
2989 |
|
2990 |
4.1.4 Example and Listing |
2991 |
|
2992 |
<XMP> ... </XMP> and <LISTING> ... </LISTING> |
2993 |
|
2994 |
The Example element and Listing element have been |
2995 |
replaced by the Preformatted Text element. |
2996 |
|
2997 |
These styles allow text of fixed-width characters to be |
2998 |
embedded absolutely as is into the document. The syntax |
2999 |
is: |
3000 |
|
3001 |
<LISTING> |
3002 |
... |
3003 |
</LISTING> |
3004 |
|
3005 |
or |
3006 |
|
3007 |
<XMP> |
3008 |
... |
3009 |
</XMP> |
3010 |
|
3011 |
The text between these tags is typically rendered in a |
3012 |
monospaced font so that any formatting done by character |
3013 |
spacing on successive lines will be maintained. |
3014 |
|
3015 |
Between the opening and closing tags: |
3016 |
|
3017 |
- The text may contain any ISO Latin-1 printable |
3018 |
characters, expect for the end tag opener. The Example |
3019 |
and Listing elements have historically used |
3020 |
specifications which do not conform to SGML. |
3021 |
Specifically, the text may contain ISO Latin printable |
3022 |
characters, including the tag opener, as long it they |
3023 |
does not contain the closing tag in full. |
3024 |
|
3025 |
Berners-Lee, Connolly, et. al. Page 54 |
3026 |
|
3027 |
HTML 2.0 November 28, 1994 |
3028 |
|
3029 |
|
3030 |
|
3031 |
- SGML does not support this form. HTML user agents |
3032 |
may vary on how they interpret other tags within Example |
3033 |
and Listing elements. |
3034 |
|
3035 |
- Line boundaries within the text are rendered as a |
3036 |
move to the beginning of the next line, except for one |
3037 |
immediately following a start tag or immediately |
3038 |
preceding an end tag. |
3039 |
|
3040 |
- The ASCII horizontal tab character must be |
3041 |
interpreted as the smallest positive nonzero number of |
3042 |
spaces which will leave the number of characters so far |
3043 |
on the line as a multiple of 8. Its use is not |
3044 |
recommended. |
3045 |
|
3046 |
The Listing element is rendered so that at least 132 |
3047 |
characters fit on a line. The Example element is |
3048 |
rendered to that at least 80 characters fit on a line |
3049 |
but is otherwise identical to the Listing element. |
3050 |
|
3051 |
4.2 Proposed Features |
3052 |
|
3053 |
This section describes proposed HTML elements and |
3054 |
entities that are not currently supported under HTML |
3055 |
Levels 0, 1, or 2, but may be supported in the future. |
3056 |
|
3057 |
4.2.1 Defining Instance |
3058 |
|
3059 |
<DFN> ... </DFN> |
3060 |
|
3061 |
The Defining Instance element indicates the defining |
3062 |
instance of a term. The typical rendering is bold or |
3063 |
bold italic. This element is not widely supported. |
3064 |
|
3065 |
4.2.2 Special Characters |
3066 |
|
3067 |
To indicate special characters, HTML uses entity or |
3068 |
numeric representations. Two additional character |
3069 |
presentations are proposed: |
3070 |
|
3071 |
CHARACTER REPRESENTATION |
3072 |
|
3073 |
Non-breaking space |
3074 |
Soft-hyphen ­ |
3075 |
Registered ® |
3076 |
Copyright © |
3077 |
|
3078 |
4.2.3 Strike |
3079 |
|
3080 |
|
3081 |
Berners-Lee, Connolly, et. al. Page 55 |
3082 |
|
3083 |
HTML 2.0 November 28, 1994 |
3084 |
|
3085 |
|
3086 |
<STRIKE> ... </STRIKE> |
3087 |
|
3088 |
The Strike element is proposed to indicate |
3089 |
strikethrough, a font style in which a horizontal line |
3090 |
appears through characters. This element is not widely |
3091 |
supported. |
3092 |
|
3093 |
4.2.4 Underline |
3094 |
|
3095 |
<U> ... </U> |
3096 |
|
3097 |
The Underline element is proposed to indicate that the |
3098 |
text should be rendered as underlined. This proposed tag |
3099 |
is not supported by all HTML user agents. |
3100 |
|
3101 |
Example of use: |
3102 |
|
3103 |
The text <U>shown here</U> is rendered in the document |
3104 |
as underlined. |
3105 |
|
3106 |
5. HTML Document Type Definitions |
3107 |
|
3108 |
5.1 SGML Declaration for HTML |
3109 |
|
3110 |
This is the SGML Declaration for HyperText Markup Language |
3111 |
(HTML) as used by the World Wide Web (WWW) application: |
3112 |
|
3113 |
<!SGML "ISO 8879:1986" |
3114 |
-- |
3115 |
SGML Declaration for HyperText Markup Language (HTML). |
3116 |
|
3117 |
-- |
3118 |
|
3119 |
CHARSET |
3120 |
BASESET "ISO 646:1983//CHARSET |
3121 |
International Reference Version (IRV)//ESC 2/5 4/0" |
3122 |
DESCSET 0 9 UNUSED |
3123 |
9 2 9 |
3124 |
11 2 UNUSED |
3125 |
13 1 13 |
3126 |
14 18 UNUSED |
3127 |
32 95 32 |
3128 |
127 1 UNUSED |
3129 |
BASESET "ISO Registration Number 100//CHARSET |
3130 |
ECMA-94 Right Part of Latin Alphabet Nr. 1//ESC 2/13 4/1" |
3131 |
DESCSET 128 32 UNUSED |
3132 |
160 96 32 |
3133 |
|
3134 |
CAPACITY SGMLREF |
3135 |
TOTALCAP 150000 |
3136 |
|
3137 |
Berners-Lee, Connolly, et. al. Page 56 |
3138 |
|
3139 |
HTML 2.0 November 28, 1994 |
3140 |
|
3141 |
|
3142 |
GRPCAP 150000 |
3143 |
|
3144 |
SCOPE DOCUMENT |
3145 |
SYNTAX |
3146 |
SHUNCHAR CONTROLS 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
3147 |
18 19 20 21 22 23 24 25 26 27 28 29 30 31 127 |
3148 |
BASESET "ISO 646:1983//CHARSET |
3149 |
International Reference Version (IRV)//ESC 2/5 4/0" |
3150 |
DESCSET 0 128 0 |
3151 |
FUNCTION |
3152 |
-- SPACE 32 |
3153 |
TAB SEPCHAR 9 |
3154 |
LF SEPCHAR 10 |
3155 |
FF SEPCHAR 12 |
3156 |
CR SEPCHAR 13 -- |
3157 |
|
3158 |
-- The above is an accurate description of the usage of FUNCTION -- |
3159 |
-- characters in HTML implementations; that is, there is no -- |
3160 |
-- Record Start or Record End character, and no occurences of -- |
3161 |
-- character 10 or 13 are "ignored" by the parser. -- |
3162 |
-- But because few SGML implementations support this concrete -- |
3163 |
-- sytax, we include the one below. -- |
3164 |
|
3165 |
-- Note that in order to get correct behaviour w.r.t. newline -- |
3166 |
-- processing, you will have to play some tricks in construcing -- |
3167 |
-- the document entity for parsing in order to keep the parser -- |
3168 |
-- from ignoring newlines in surprising ways -- |
3169 |
|
3170 |
RE 13 |
3171 |
RS 10 |
3172 |
SPACE 32 |
3173 |
TAB SEPCHAR 9 |
3174 |
|
3175 |
|
3176 |
NAMING LCNMSTRT "" |
3177 |
UCNMSTRT "" |
3178 |
LCNMCHAR ".-" |
3179 |
UCNMCHAR ".-" |
3180 |
NAMECASE GENERAL YES |
3181 |
ENTITY NO |
3182 |
DELIM GENERAL SGMLREF |
3183 |
SHORTREF SGMLREF |
3184 |
NAMES SGMLREF |
3185 |
QUANTITY SGMLREF |
3186 |
NAMELEN 72 -- somewhat arbitrary; taken from |
3187 |
internet line length conventions -- |
3188 |
TAGLVL 100 |
3189 |
LITLEN 1024 |
3190 |
GRPGTCNT 150 |
3191 |
GRPCNT 64 |
3192 |
|
3193 |
Berners-Lee, Connolly, et. al. Page 57 |
3194 |
|
3195 |
HTML 2.0 November 28, 1994 |
3196 |
|
3197 |
|
3198 |
|
3199 |
FEATURES |
3200 |
MINIMIZE |
3201 |
DATATAG NO |
3202 |
OMITTAG YES |
3203 |
RANK NO |
3204 |
SHORTTAG YES |
3205 |
LINK |
3206 |
SIMPLE NO |
3207 |
IMPLICIT NO |
3208 |
EXPLICIT NO |
3209 |
OTHER |
3210 |
CONCUR NO |
3211 |
SUBDOC NO |
3212 |
FORMAL YES |
3213 |
APPINFO NONE |
3214 |
> |
3215 |
<!-- |
3216 |
$Id: html.decl,v 1.9 1994/11/15 19:54:44 connolly Exp $ |
3217 |
|
3218 |
Author: Daniel W. Connolly <connolly@hal.com> |
3219 |
|
3220 |
See also: http://www.hal.com/%7Econnolly/html-spec |
3221 |
http://info.cern.ch/hypertext/WWW/MarkUp/MarkUp.html |
3222 |
--> |
3223 |
|
3224 |
5.1.1 Sample SGML Open Style Entity Catalog for HTML |
3225 |
|
3226 |
The SGML standard describes an "entity manager" as the |
3227 |
portion or component of an SGML system that maps SGML |
3228 |
entities into the actual storage model (e.g., the file |
3229 |
system). The standard itself does not define a particular |
3230 |
mapping methodology or notation. |
3231 |
|
3232 |
To assist the interoperability among various SGML tools and |
3233 |
systems, the SGML Open consortium has passed a technical |
3234 |
resolution that defines a format for an |
3235 |
application-independent entity catalog that maps external |
3236 |
identifiers and/or entity names to file names. |
3237 |
|
3238 |
Each entry in the catalog associates a storage object |
3239 |
identifier (such as a file name) with information about the |
3240 |
external entity that appears in the SGML document. In |
3241 |
addition to entries that associate public identifiers, a |
3242 |
catalog entry can associate an entity name with a storage |
3243 |
object indentifier. For example, the following are |
3244 |
possible catalog entries: |
3245 |
|
3246 |
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml" |
3247 |
PUBLIC "-//ACME DTD Writers//DTD General Report//EN" report.dtd |
3248 |
|
3249 |
Berners-Lee, Connolly, et. al. Page 58 |
3250 |
|
3251 |
HTML 2.0 November 28, 1994 |
3252 |
|
3253 |
|
3254 |
ENTITY "graph1" "graphics\graph1.cgm" |
3255 |
In particular, the following shows entries relevant to HTML. |
3256 |
-- catalog: SGML Open style entity catalog for HTML -- |
3257 |
-- $Id: catalog,v 1.1 1994/10/07 21:35:07 connolly Exp $ -- |
3258 |
|
3259 |
-- Ways to refer to Level 2: most general to most specific -- |
3260 |
PUBLIC "-//IETF//DTD HTML//EN" html.dtd |
3261 |
PUBLIC "-//IETF//DTD HTML//EN//2.0" html.dtd |
3262 |
PUBLIC "-//IETF//DTD HTML Level 2//EN" html.dtd |
3263 |
PUBLIC "-//IETF//DTD HTML Level 2//EN//2.0" html.dtd |
3264 |
|
3265 |
-- Ways to refer to Level 1: most general to most specific -- |
3266 |
PUBLIC "-//IETF//DTD HTML Level 1//EN" html-1.dtd |
3267 |
PUBLIC "-//IETF//DTD HTML Level 1//EN//2.0" html-1.dtd |
3268 |
|
3269 |
-- Ways to refer to Level 0: most general to most specific -- |
3270 |
PUBLIC "-//IETF//DTD HTML Level 0//EN" html-0.dtd |
3271 |
PUBLIC "-//IETF//DTD HTML Level 0//EN//2.0" html-0.dtd |
3272 |
|
3273 |
-- ISO latin 1 entity set for HTML -- |
3274 |
PUBLIC "-//IETF//ENTITIES Added Latin 1//EN" ISOlat1.sgml |
3275 |
|
3276 |
5.2 HTML DTD |
3277 |
|
3278 |
This is the Document Type Definition for the |
3279 |
HyperText Markup Language (HTML DTD): |
3280 |
|
3281 |
<!-- html.dtd |
3282 |
|
3283 |
Document Type Definition for the |
3284 |
HyperText Markup Language (HTML DTD) |
3285 |
|
3286 |
$Id: html.dtd,v 1.21 1994/11/15 19:54:38 connolly Exp $ |
3287 |
|
3288 |
Author: Daniel W. Connolly <connolly@hal.com> |
3289 |
See Also: html.decl, html-0.dtd, html-1.dtd |
3290 |
http://www.hal.com/%7Econnolly/html-spec/index.html |
3291 |
http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html |
3292 |
--> |
3293 |
|
3294 |
<!ENTITY % HTML.Version |
3295 |
"-//IETF//DTD HTML//EN//2.0" |
3296 |
|
3297 |
-- Typical usage: |
3298 |
|
3299 |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
3300 |
<html> |
3301 |
... |
3302 |
</html> |
3303 |
-- |
3304 |
|
3305 |
Berners-Lee, Connolly, et. al. Page 59 |
3306 |
|
3307 |
HTML 2.0 November 28, 1994 |
3308 |
|
3309 |
|
3310 |
> |
3311 |
|
3312 |
|
3313 |
<!--================== Feature Test Entities ======================--> |
3314 |
|
3315 |
<!ENTITY % HTML.Recommended "IGNORE" |
3316 |
-- Certain features of the language are necessary for compatibility |
3317 |
with widespread usage, but they may compromise the structural |
3318 |
integrity of a document. This feature test entity enables |
3319 |
a more prescriptive document type definition that eliminates |
3320 |
those features. |
3321 |
--> |
3322 |
|
3323 |
<![ %HTML.Recommended [ |
3324 |
<!ENTITY % HTML.Deprecated "IGNORE"> |
3325 |
]]> |
3326 |
|
3327 |
<!ENTITY % HTML.Deprecated "INCLUDE" |
3328 |
-- Certain features of the language are necessary for compatibility |
3329 |
with earlier versions of the specification, but they tend |
3330 |
to be used an implemented inconsistently, and their use is |
3331 |
deprecated. This feature test entity enables a document type |
3332 |
definition that eliminates these features. |
3333 |
--> |
3334 |
|
3335 |
<!ENTITY % HTML.Highlighting "INCLUDE" |
3336 |
-- Use this feature test entity to validate that a document |
3337 |
uses no highlighting tags, which may be ignored on minimal |
3338 |
implementations. |
3339 |
--> |
3340 |
|
3341 |
<!ENTITY % HTML.Forms "INCLUDE" |
3342 |
-- Use this feature test entity to validate that a document |
3343 |
contains no forms, which may not be supported in minimal |
3344 |
implementations |
3345 |
--> |
3346 |
|
3347 |
<!--================== Imported Names =============================--> |
3348 |
|
3349 |
<!ENTITY % Content-Type "CDATA" |
3350 |
-- meaning an internet media type |
3351 |
(aka MIME content type, as per RFC1521) |
3352 |
--> |
3353 |
|
3354 |
<!ENTITY % HTTP-Method "GET | POST" |
3355 |
-- as per HTTP specification, in progress |
3356 |
--> |
3357 |
|
3358 |
<!ENTITY % URI "CDATA" |
3359 |
-- The term URI means a CDATA attribute |
3360 |
|
3361 |
Berners-Lee, Connolly, et. al. Page 60 |
3362 |
|
3363 |
HTML 2.0 November 28, 1994 |
3364 |
|
3365 |
|
3366 |
whose value is a Uniform Resource Identifier, |
3367 |
as defined by |
3368 |
"Universal Resource Identifiers" by Tim Berners-Lee |
3369 |
aka http://info.cern.ch/hypertext/WWW/Addressing/URL/URI_Overview.html |
3370 |
aka RFC 1630 |
3371 |
|
3372 |
Note that CDATA attributes are limited by the LITLEN |
3373 |
capacity (1024 in the current version of html.decl), |
3374 |
so that URIs in HTML have a bounded length. |
3375 |
|
3376 |
--> |
3377 |
|
3378 |
|
3379 |
<!--================== DTD "Macros" ===============================--> |
3380 |
|
3381 |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6"> |
3382 |
|
3383 |
<!ENTITY % list " UL | OL | DIR | MENU " > |
3384 |
|
3385 |
|
3386 |
<!--================ Character mnemonic entities ==================--> |
3387 |
|
3388 |
<!ENTITY % ISOlat1 PUBLIC |
3389 |
"-//IETF//ENTITIES Added Latin 1 for HTML//EN"> |
3390 |
%ISOlat1; |
3391 |
|
3392 |
<!ENTITY amp CDATA "&" -- ampersand --> |
3393 |
<!ENTITY gt CDATA ">" -- greater than --> |
3394 |
<!ENTITY lt CDATA "<" -- less than --> |
3395 |
<!ENTITY quot CDATA """ -- double quote --> |
3396 |
|
3397 |
|
3398 |
<!--=================== Text Markup ===============================--> |
3399 |
|
3400 |
<![ %HTML.Highlighting [ |
3401 |
|
3402 |
<!ENTITY % font " TT | B | I "> |
3403 |
|
3404 |
<!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | CITE "> |
3405 |
|
3406 |
<!ENTITY % text "#PCDATA | A | IMG | BR | %phrase | %font"> |
3407 |
|
3408 |
<!ELEMENT (%font;|%phrase) - - (%text)+> |
3409 |
<!-- <TT> Typewriter text --> |
3410 |
<!-- <B> Bold text --> |
3411 |
<!-- <I> Italic text --> |
3412 |
|
3413 |
<!-- <EM> Emphasized phrase --> |
3414 |
<!-- <STRONG> Strong emphais --> |
3415 |
<!-- <CODE> Source code phrase --> |
3416 |
|
3417 |
Berners-Lee, Connolly, et. al. Page 61 |
3418 |
|
3419 |
HTML 2.0 November 28, 1994 |
3420 |
|
3421 |
|
3422 |
<!-- <SAMP> Sample text or characters --> |
3423 |
<!-- <KBD> Keyboard phrase, e.g. user input --> |
3424 |
<!-- <VAR> Variable phrase or substituable --> |
3425 |
<!-- <CITE> Name or title of cited work --> |
3426 |
|
3427 |
<!ENTITY % pre.content "#PCDATA | A | HR | BR | %font | %phrase"> |
3428 |
|
3429 |
]]> |
3430 |
|
3431 |
<!ENTITY % text "#PCDATA | A | IMG | BR"> |
3432 |
|
3433 |
<!ELEMENT BR - O EMPTY> |
3434 |
<!-- <BR> Line break --> |
3435 |
|
3436 |
|
3437 |
<!--================== Link Markup ================================--> |
3438 |
|
3439 |
<![ %HTML.Recommended [ |
3440 |
<!ENTITY % linkName "ID"> |
3441 |
]]> |
3442 |
|
3443 |
<!ENTITY % linkName "CDATA"> |
3444 |
|
3445 |
<!ENTITY % linkType "NAME" |
3446 |
-- a list of these will be specified at a later date --> |
3447 |
|
3448 |
<!ENTITY % linkExtraAttributes |
3449 |
"REL %linkType #IMPLIED |
3450 |
REV %linkType #IMPLIED |
3451 |
URN CDATA #IMPLIED |
3452 |
TITLE CDATA #IMPLIED |
3453 |
METHODS NAMES #IMPLIED |
3454 |
"> |
3455 |
|
3456 |
<![ %HTML.Recommended [ |
3457 |
<!ENTITY % A.content "(%text)+" |
3458 |
-- <H1><a name="xxx">Heading</a></H1> |
3459 |
is preferred to |
3460 |
<a name="xxx"><H1>Heading</H1></a> |
3461 |
--> |
3462 |
]]> |
3463 |
|
3464 |
<!ENTITY % A.content "(%heading|%text)+"> |
3465 |
|
3466 |
<!ELEMENT A - - %A.content -(A)> |
3467 |
<!ATTLIST A |
3468 |
HREF %URI #IMPLIED |
3469 |
NAME %linkName #IMPLIED |
3470 |
%linkExtraAttributes; |
3471 |
> |
3472 |
|
3473 |
Berners-Lee, Connolly, et. al. Page 62 |
3474 |
|
3475 |
HTML 2.0 November 28, 1994 |
3476 |
|
3477 |
|
3478 |
<!-- <A> Anchor; source and/or destination of a link --> |
3479 |
<!-- <A NAME="..."> Name of this anchor --> |
3480 |
<!-- <A HREF="..."> Address of link destination --> |
3481 |
<!-- <A URN="..."> Permanent address of destination --> |
3482 |
<!-- <A REL=...> Relationship of this anchor to destination --> |
3483 |
<!-- <A REV=...> Relationship of destination to this anchor --> |
3484 |
<!-- <A TITLE="..."> Title of destination (advisory) |
3485 |
--> |
3486 |
<!-- <A METHODS="..."> Operations allowed on destination |
3487 |
(advisory) --> |
3488 |
|
3489 |
|
3490 |
<!--=================== Images ====================================--> |
3491 |
|
3492 |
<!ELEMENT IMG - O EMPTY> |
3493 |
<!ATTLIST IMG |
3494 |
SRC %URI; #REQUIRED |
3495 |
ALT CDATA #IMPLIED |
3496 |
ALIGN (top|middle|bottom) #IMPLIED |
3497 |
ISMAP (ISMAP) #IMPLIED |
3498 |
> |
3499 |
|
3500 |
<!-- <IMG> Image; icon, glyph or illustration --> |
3501 |
<!-- <IMG SRC="..."> Address of image object --> |
3502 |
<!-- <IMG ALT="..."> Textual alternative --> |
3503 |
<!-- <IMG ALIGN=...> Position relative to text --> |
3504 |
<!-- <IMG ISMAP> Each pixel can be a link --> |
3505 |
|
3506 |
<!--=================== Paragraphs=================================--> |
3507 |
|
3508 |
<!ELEMENT P - O (%text)+> |
3509 |
<!-- <P> Paragraph --> |
3510 |
|
3511 |
|
3512 |
<!--=================== Headings, Titles, Sections ================--> |
3513 |
|
3514 |
<!ELEMENT HR - O EMPTY> |
3515 |
<!-- <HR> Horizontal rule --> |
3516 |
|
3517 |
<!ELEMENT ( %heading ) - - (%text;)+> |
3518 |
<!-- <H1> Heading, level 1 --> |
3519 |
<!-- <H2> Heading, level 2 --> |
3520 |
<!-- <H3> Heading, level 3 --> |
3521 |
<!-- <H4> Heading, level 4 --> |
3522 |
<!-- <H5> Heading, level 5 --> |
3523 |
<!-- <H6> Heading, level 6 --> |
3524 |
|
3525 |
|
3526 |
<!--=================== Text Flows ================================--> |
3527 |
|
3528 |
|
3529 |
Berners-Lee, Connolly, et. al. Page 63 |
3530 |
|
3531 |
HTML 2.0 November 28, 1994 |
3532 |
|
3533 |
|
3534 |
<![ %HTML.Forms [ |
3535 |
<!ENTITY % block.forms "| FORM | ISINDEX"> |
3536 |
]]> |
3537 |
|
3538 |
<!ENTITY % block.forms ""> |
3539 |
|
3540 |
<![ %HTML.Deprecated [ |
3541 |
<!ENTITY % preformatted "PRE | XMP | LISTING"> |
3542 |
]]> |
3543 |
|
3544 |
<!ENTITY % preformatted "PRE"> |
3545 |
|
3546 |
<!ENTITY % block "P | %list | DL |
3547 |
| %preformatted |
3548 |
| BLOCKQUOTE %block.forms"> |
3549 |
|
3550 |
<!ENTITY % flow "(%text|%block)*"> |
3551 |
|
3552 |
<!ENTITY % pre.content "#PCDATA | A | HR | BR"> |
3553 |
<!ELEMENT PRE - - (%pre.content)+> |
3554 |
<!ATTLIST PRE |
3555 |
WIDTH NUMBER #implied |
3556 |
> |
3557 |
|
3558 |
<!-- <PRE> Preformatted text --> |
3559 |
<!-- <PRE WIDTH=...> Maximum characters per line --> |
3560 |
|
3561 |
<![ %HTML.Deprecated [ |
3562 |
|
3563 |
<!ENTITY % literal "CDATA" |
3564 |
-- historical, non-conforming parsing mode where |
3565 |
the only markup signal is the end tag |
3566 |
in full |
3567 |
--> |
3568 |
|
3569 |
<!ELEMENT (XMP|LISTING) - - %literal> |
3570 |
<!-- <XMP> Example section --> |
3571 |
<!-- <LISTING> Computer listing --> |
3572 |
|
3573 |
<!ELEMENT PLAINTEXT - O %literal> |
3574 |
<!-- <PLAINTEXT> Plain text passage --> |
3575 |
|
3576 |
]]> |
3577 |
|
3578 |
|
3579 |
<!--=================== Lists =====================================--> |
3580 |
|
3581 |
<!ELEMENT DL - - (DT | DD)+> |
3582 |
<!ATTLIST DL |
3583 |
COMPACT (COMPACT) #IMPLIED> |
3584 |
|
3585 |
Berners-Lee, Connolly, et. al. Page 64 |
3586 |
|
3587 |
HTML 2.0 November 28, 1994 |
3588 |
|
3589 |
|
3590 |
|
3591 |
<!ELEMENT DT - O (%text)+> |
3592 |
<!ELEMENT DD - O %flow> |
3593 |
|
3594 |
<!-- <DL> Definition list, or glossary --> |
3595 |
<!-- <DL COMPACT> Compact style list --> |
3596 |
<!-- <DT> Term in definition list --> |
3597 |
<!-- <DD> Definition of term --> |
3598 |
|
3599 |
<!ELEMENT (OL|UL) - - (LI)+> |
3600 |
<!ELEMENT (DIR|MENU) - - (LI)+ -(%block)> |
3601 |
<!ATTLIST (%list) |
3602 |
COMPACT (COMPACT) #IMPLIED> |
3603 |
<!-- <UL> Unordered list --> |
3604 |
<!-- <UL COMPACT> Compact list style --> |
3605 |
<!-- <OL> Ordered, or numbered list --> |
3606 |
<!-- <OL COMPACT> Compact list style --> |
3607 |
<!-- <DIR> Directory list --> |
3608 |
<!-- <DIR COMPACT> Compact list style --> |
3609 |
<!-- <MENU> Menu list --> |
3610 |
<!-- <MENU COMPACT> Compact list style --> |
3611 |
|
3612 |
<!ELEMENT LI - O %flow> |
3613 |
|
3614 |
<!-- <LI> List item --> |
3615 |
|
3616 |
<!--=================== Document Body =============================--> |
3617 |
|
3618 |
<![ %HTML.Recommended [ |
3619 |
<!ENTITY % body.content "(%heading|%block|HR|ADDRESS)*" |
3620 |
-- <h1>Heading</h1> |
3621 |
<p>Text ... |
3622 |
is preferred to |
3623 |
<h1>Heading</h1> |
3624 |
Text ... |
3625 |
--> |
3626 |
]]> |
3627 |
|
3628 |
<!ENTITY % body.content "(%heading | %text | %block | HR | ADDRESS)*"> |
3629 |
|
3630 |
<!ELEMENT BODY O O %body.content> |
3631 |
<!-- <BODY> Document body --> |
3632 |
|
3633 |
<!ELEMENT BLOCKQUOTE - - %body.content> |
3634 |
<!-- <BLOCKQUOTE> Quoted passage --> |
3635 |
|
3636 |
<!ELEMENT ADDRESS - - (%text|P)*> |
3637 |
<!-- <ADDRESS> Address, signature, or byline for document or |
3638 |
passage --> |
3639 |
|
3640 |
|
3641 |
Berners-Lee, Connolly, et. al. Page 65 |
3642 |
|
3643 |
HTML 2.0 November 28, 1994 |
3644 |
|
3645 |
|
3646 |
|
3647 |
<!--================ Forms =======================================--> |
3648 |
|
3649 |
<![ %HTML.Forms [ |
3650 |
|
3651 |
<!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)> |
3652 |
<!ATTLIST FORM |
3653 |
ACTION %URI #IMPLIED |
3654 |
METHOD (%HTTP-Method) GET |
3655 |
ENCTYPE %Content-Type; "application/x-www-form-urlencoded" |
3656 |
> |
3657 |
|
3658 |
<!-- <FORM> Fill-out or data-entry form --> |
3659 |
<!-- <FORM ACTION="..."> Address for completed form --> |
3660 |
<!-- <FORM METHOD=...> Method of submitting form --> |
3661 |
<!-- <FORM ENCTYPE="..."> Representation of form data --> |
3662 |
|
3663 |
<!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX | |
3664 |
RADIO | SUBMIT | RESET | |
3665 |
IMAGE | HIDDEN )"> |
3666 |
<!ELEMENT INPUT - O EMPTY> |
3667 |
<!ATTLIST INPUT |
3668 |
TYPE %InputType TEXT |
3669 |
NAME CDATA #IMPLIED |
3670 |
VALUE CDATA #IMPLIED |
3671 |
SRC %URI #IMPLIED |
3672 |
CHECKED (CHECKED) #IMPLIED |
3673 |
SIZE CDATA #IMPLIED |
3674 |
MAXLENGTH NUMBER #IMPLIED |
3675 |
ALIGN (top|middle|bottom) #IMPLIED |
3676 |
> |
3677 |
|
3678 |
<!-- <INPUT> Form input datum --> |
3679 |
<!-- <INPUT TYPE=...> Type of input interaction --> |
3680 |
<!-- <INPUT TYPE=...> Name of form datum --> |
3681 |
<!-- <INPUT VALUE="..."> Default/initial/selected value --> |
3682 |
<!-- <INPUT SRC="..."> Address of image --> |
3683 |
<!-- <INPUT CHECKED> Initial state is "on" --> |
3684 |
<!-- <INPUT SIZE=...> Field size hint --> |
3685 |
<!-- <INPUT MAXLENGTH=...> Data length maximum --> |
3686 |
<!-- <INPUT ALIGN=...> Image |
3687 |
alignment --> |
3688 |
|
3689 |
<!ELEMENT SELECT - - (OPTION+)> |
3690 |
<!ATTLIST SELECT |
3691 |
NAME CDATA #REQUIRED |
3692 |
SIZE NUMBER #IMPLIED |
3693 |
MULTIPLE (MULTIPLE) #IMPLIED |
3694 |
> |
3695 |
|
3696 |
|
3697 |
Berners-Lee, Connolly, et. al. Page 66 |
3698 |
|
3699 |
HTML 2.0 November 28, 1994 |
3700 |
|
3701 |
|
3702 |
<!-- <SELECT> Selection of option(s) --> |
3703 |
<!-- <SELECT NAME=...> Name of form datum --> |
3704 |
<!-- <SELECT SIZE=...> Number of options displayed at a time --> |
3705 |
<!-- <SELECT MULTIPLE> Multiple selections allowed --> |
3706 |
|
3707 |
<!ELEMENT OPTION - O (#PCDATA)> |
3708 |
<!ATTLIST OPTION |
3709 |
SELECTED (SELECTED) #IMPLIED |
3710 |
VALUE CDATA #IMPLIED |
3711 |
> |
3712 |
|
3713 |
<!-- <OPTION> A selection option --> |
3714 |
<!-- <OPTION SELECTED> Initial state --> |
3715 |
<!-- <OPTION VALUE=""> Form datum value for this option --> |
3716 |
|
3717 |
<!ELEMENT TEXTAREA - - (#PCDATA)> |
3718 |
<!ATTLIST TEXTAREA |
3719 |
NAME CDATA #REQUIRED |
3720 |
ROWS NUMBER #REQUIRED |
3721 |
COLS NUMBER #REQUIRED |
3722 |
> |
3723 |
|
3724 |
<!-- <TEXTAREA> An area for text input --> |
3725 |
<!-- <TEXTAREA NAME=...> Name of form datum --> |
3726 |
<!-- <TEXTAREA ROWS=...> Height of area --> |
3727 |
<!-- <TEXTAREA COLS=...> Width of area --> |
3728 |
|
3729 |
]]> |
3730 |
|
3731 |
|
3732 |
<!--================ Document Head ================================--> |
3733 |
|
3734 |
<!ENTITY % head.link "& LINK*"> |
3735 |
|
3736 |
<![ %HTML.Recommended [ |
3737 |
<!ENTITY % head.nextid ""> |
3738 |
]]> |
3739 |
<!ENTITY % head.nextid "& NEXTID?"> |
3740 |
|
3741 |
<!ENTITY % head.content "TITLE & ISINDEX? & BASE? & META* |
3742 |
%head.nextid |
3743 |
%head.link"> |
3744 |
|
3745 |
<!ELEMENT HEAD O O (%head.content)> |
3746 |
<!-- <HEAD> Document head --> |
3747 |
|
3748 |
<!ELEMENT TITLE - - (#PCDATA)> |
3749 |
<!-- <TITLE> Title of document --> |
3750 |
|
3751 |
<!ELEMENT LINK - O EMPTY> |
3752 |
|
3753 |
Berners-Lee, Connolly, et. al. Page 67 |
3754 |
|
3755 |
HTML 2.0 November 28, 1994 |
3756 |
|
3757 |
|
3758 |
<!ATTLIST LINK |
3759 |
HREF %URI #REQUIRED |
3760 |
%linkExtraAttributes; > |
3761 |
<!-- <LINK> Link from this document --> |
3762 |
<!-- <LINK HREF="..."> Address of link destination --> |
3763 |
<!-- <LINK URN="..."> Lasting name of destination --> |
3764 |
<!-- <LINK REL=...> Relationship of this document to dest --> |
3765 |
<!-- <LINK REV=...> Relationship of destination to document --> |
3766 |
<!-- <LINK TITLE="..."> Title of destination (advisory) --> |
3767 |
<!-- <LINK METHODS="..."> Operations allowed on dest (advisory) --> |
3768 |
|
3769 |
<!ELEMENT ISINDEX - O EMPTY> |
3770 |
<!-- <ISINDEX> Document is a searchable index --> |
3771 |
|
3772 |
<!ELEMENT BASE - O EMPTY> |
3773 |
<!ATTLIST BASE |
3774 |
HREF %URI; #REQUIRED |
3775 |
> |
3776 |
<!-- <BASE> Base context document --> |
3777 |
<!-- <BASE HREF="..."> Address for this document --> |
3778 |
|
3779 |
<!ELEMENT NEXTID - O EMPTY> |
3780 |
<!ATTLIST NEXTID N %linkName #REQUIRED> |
3781 |
<!-- <NEXTID> Next ID to use for link name --> |
3782 |
<!-- |
3783 |
<NEXTID N=...> Next ID to use for link name --> |
3784 |
|
3785 |
<!ELEMENT META - O EMPTY> |
3786 |
<!ATTLIST META |
3787 |
HTTP-EQUIV NAME #IMPLIED |
3788 |
NAME NAME #IMPLIED |
3789 |
CONTENT CDATA #REQUIRED |
3790 |
> |
3791 |
<!-- <META> Generic Metainformation --> |
3792 |
<!-- <META HTTP-EQUIV=...> HTTP response header name --> |
3793 |
<!-- <META HTTP-EQUIV=...> Metainformation name --> |
3794 |
<!-- <META CONTENT="..."> Associated information --> |
3795 |
|
3796 |
<!--================ Document Structure ===========================--> |
3797 |
|
3798 |
<![ %HTML.Deprecated [ |
3799 |
<!ENTITY % html.content "HEAD, BODY, PLAINTEXT?"> |
3800 |
]]> |
3801 |
<!ENTITY % html.content "HEAD, BODY"> |
3802 |
|
3803 |
<!ELEMENT HTML O O (%html.content)> |
3804 |
<!ENTITY % version.attr "VERSION CDATA #FIXED "%HTML.Version;""> |
3805 |
|
3806 |
<!ATTLIST HTML |
3807 |
%version.attr; |
3808 |
|
3809 |
Berners-Lee, Connolly, et. al. Page 68 |
3810 |
|
3811 |
HTML 2.0 November 28, 1994 |
3812 |
|
3813 |
|
3814 |
> |
3815 |
|
3816 |
<!-- <HTML> HyperText Markup Language Document --> |
3817 |
<!-- <HTML |
3818 |
VERSION="..."> Version of HTML specification --> |
3819 |
|
3820 |
5.2.1 ISO Latin 1 Definitions for HTML |
3821 |
|
3822 |
<!-- (C) International Organization for Standardization 1986 |
3823 |
Permission to copy in any form is granted for use with |
3824 |
conforming SGML systems and applications as defined in |
3825 |
ISO 8879:1986, provided this notice is included in all copies. |
3826 |
--> |
3827 |
<!-- Character entity set. Typical invocation: |
3828 |
<!ENTITY % ISOlat1 PUBLIC |
3829 |
"-//IETF//ENTITIES Added Latin 1 for HTML//EN"> |
3830 |
%ISOlat1; |
3831 |
--> |
3832 |
<!-- Modified for use in HTML |
3833 |
$Id: ISOlat1.sgml,v 1.1 1994/09/24 14:06:34 connolly Exp $ --> |
3834 |
<!ENTITY AElig CDATA "Æ" -- capital AE diphthong (ligature) --> |
3835 |
<!ENTITY Aacute CDATA "Á" -- capital A, acute accent --> |
3836 |
<!ENTITY Acirc CDATA "Â" -- capital A, circumflex accent --> |
3837 |
<!ENTITY Agrave CDATA "À" -- capital A, grave accent --> |
3838 |
<!ENTITY Aring CDATA "Å" -- capital A, ring --> |
3839 |
<!ENTITY Atilde CDATA "Ã" -- capital A, tilde --> |
3840 |
<!ENTITY Auml CDATA "Ä" -- capital A, dieresis or umlaut mark --> |
3841 |
<!ENTITY Ccedil CDATA "Ç" -- capital C, cedilla --> |
3842 |
<!ENTITY ETH CDATA "Ð" -- capital Eth, Icelandic --> |
3843 |
<!ENTITY Eacute CDATA "É" -- capital E, acute accent --> |
3844 |
<!ENTITY Ecirc CDATA "Ê" -- capital E, circumflex accent --> |
3845 |
<!ENTITY Egrave CDATA "È" -- capital E, grave accent --> |
3846 |
<!ENTITY Euml CDATA "Ë" -- capital E, dieresis or umlaut mark --> |
3847 |
<!ENTITY Iacute CDATA "Í" -- capital I, acute accent --> |
3848 |
<!ENTITY Icirc CDATA "Î" -- capital I, circumflex accent --> |
3849 |
<!ENTITY Igrave CDATA "Ì" -- capital I, grave accent --> |
3850 |
<!ENTITY Iuml CDATA "Ï" -- capital I, dieresis or umlaut mark --> |
3851 |
<!ENTITY Ntilde CDATA "Ñ" -- capital N, tilde --> |
3852 |
<!ENTITY Oacute CDATA "Ó" -- capital O, acute accent --> |
3853 |
<!ENTITY Ocirc CDATA "Ô" -- capital O, circumflex accent --> |
3854 |
<!ENTITY Ograve CDATA "Ò" -- capital O, grave accent --> |
3855 |
<!ENTITY Oslash CDATA "Ø" -- capital O, slash --> |
3856 |
<!ENTITY Otilde CDATA "Õ" -- capital O, tilde --> |
3857 |
<!ENTITY Ouml CDATA "Ö" -- capital O, dieresis or umlaut mark --> |
3858 |
<!ENTITY THORN CDATA "Þ" -- capital THORN, Icelandic --> |
3859 |
<!ENTITY Uacute CDATA "Ú" -- capital U, acute accent --> |
3860 |
<!ENTITY Ucirc CDATA "Û" -- capital U, circumflex accent --> |
3861 |
<!ENTITY Ugrave CDATA "Ù" -- capital U, grave accent --> |
3862 |
<!ENTITY Uuml CDATA "Ü" -- capital U, dieresis or umlaut mark --> |
3863 |
<!ENTITY Yacute CDATA "Ý" -- capital Y, acute accent --> |
3864 |
|
3865 |
Berners-Lee, Connolly, et. al. Page 69 |
3866 |
|
3867 |
HTML 2.0 November 28, 1994 |
3868 |
|
3869 |
|
3870 |
<!ENTITY aacute CDATA "á" -- small a, acute accent --> |
3871 |
<!ENTITY acirc CDATA "â" -- small a, circumflex accent --> |
3872 |
<!ENTITY aelig CDATA "æ" -- small ae diphthong (ligature) --> |
3873 |
<!ENTITY agrave CDATA "à" -- small a, grave accent --> |
3874 |
<!ENTITY aring CDATA "å" -- small a, ring --> |
3875 |
<!ENTITY atilde CDATA "ã" -- small a, tilde --> |
3876 |
<!ENTITY auml CDATA "ä" -- small a, dieresis or umlaut mark --> |
3877 |
<!ENTITY ccedil CDATA "ç" -- small c, cedilla --> |
3878 |
<!ENTITY eacute CDATA "é" -- small e, acute accent --> |
3879 |
<!ENTITY ecirc CDATA "ê" -- small e, circumflex accent --> |
3880 |
<!ENTITY egrave CDATA "è" -- small e, grave accent --> |
3881 |
<!ENTITY eth CDATA "ð" -- small eth, Icelandic --> |
3882 |
<!ENTITY euml CDATA "ë" -- small e, dieresis or umlaut mark --> |
3883 |
<!ENTITY iacute CDATA "í" -- small i, acute accent --> |
3884 |
<!ENTITY icirc CDATA "î" -- small i, circumflex accent --> |
3885 |
<!ENTITY igrave CDATA "ì" -- small i, grave accent --> |
3886 |
<!ENTITY iuml CDATA "ï" -- small i, dieresis or umlaut mark --> |
3887 |
<!ENTITY ntilde CDATA "ñ" -- small n, tilde --> |
3888 |
<!ENTITY oacute CDATA "ó" -- small o, acute accent --> |
3889 |
<!ENTITY ocirc CDATA "ô" -- small o, circumflex accent --> |
3890 |
<!ENTITY ograve CDATA "ò" -- small o, grave accent --> |
3891 |
<!ENTITY oslash CDATA "ø" -- small o, slash --> |
3892 |
<!ENTITY otilde CDATA "õ" -- small o, tilde --> |
3893 |
<!ENTITY ouml CDATA "ö" -- small o, dieresis or umlaut mark --> |
3894 |
<!ENTITY szlig CDATA "ß" -- small sharp s, German(sz ligature)--> |
3895 |
<!ENTITY thorn CDATA "þ" -- small thorn, Icelandic --> |
3896 |
<!ENTITY uacute CDATA "ú" -- small u, acute accent --> |
3897 |
<!ENTITY ucirc CDATA "û" -- small u, circumflex accent --> |
3898 |
<!ENTITY ugrave CDATA "ù" -- small u, grave accent --> |
3899 |
<!ENTITY uuml CDATA "ü" -- small u, dieresis or umlaut mark --> |
3900 |
<!ENTITY yacute CDATA "ý" -- small y, acute accent --> |
3901 |
<!ENTITY yuml CDATA "ÿ" -- small y, dieresis or umlaut mark --> |
3902 |
|
3903 |
5.3 HTML Level 0 DTD |
3904 |
|
3905 |
This is the Document Type Definition for the HyperText |
3906 |
Markup Language as used by minimally conforming World Wide |
3907 |
Web applications (HTML Level 0 DTD): |
3908 |
|
3909 |
<!-- html-0.dtd |
3910 |
|
3911 |
Document Type Definition for the HyperText Markup Language |
3912 |
as used by minimally conforming World Wide Web applications |
3913 |
(HTML Level 0 DTD). |
3914 |
|
3915 |
$Id: html-0.dtd,v 1.9 1994/11/15 19:54:42 connolly Exp $ |
3916 |
|
3917 |
Author: Daniel W. Connolly <connolly@hal.com> |
3918 |
See Also: http://www.hal.com/%7Econnolly/html-spec/index.html |
3919 |
http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html |
3920 |
|
3921 |
Berners-Lee, Connolly, et. al. Page 70 |
3922 |
|
3923 |
HTML 2.0 November 28, 1994 |
3924 |
|
3925 |
|
3926 |
--> |
3927 |
|
3928 |
<!ENTITY % HTML.Version |
3929 |
"-//IETF//DTD HTML Level 0//EN//2.0" |
3930 |
-- public identifier for "minimal conformance" version -- |
3931 |
|
3932 |
-- Typical usage: |
3933 |
|
3934 |
<!DOCTYPE HTML PUBLIC |
3935 |
"-//IETF//DTD HTML Level 0//EN"> |
3936 |
<html> |
3937 |
... |
3938 |
</html> |
3939 |
-- |
3940 |
> |
3941 |
|
3942 |
<!-- Feature Test Entities --> |
3943 |
|
3944 |
<!ENTITY % HTML.Highlighting "IGNORE"> |
3945 |
<!ENTITY % HTML.Forms "IGNORE"> |
3946 |
|
3947 |
<!ENTITY % head.link " " -- no link in head at level 0 --> |
3948 |
<!ENTITY % linkExtraAttributes " "> |
3949 |
|
3950 |
<!ENTITY % html PUBLIC "-//IETF//DTD HTML//EN//2.0"> |
3951 |
%html; |
3952 |
|
3953 |
5.4 HTML Level 1 DTD |
3954 |
|
3955 |
This is the Document Type Definition for the HyperText |
3956 |
Markup Language with Level 1 Extensions (HTML Level 1 DTD): |
3957 |
|
3958 |
<!-- html-1.dtd |
3959 |
|
3960 |
Document Type Definition for the HyperText Markup Language |
3961 |
with Level 1 Extensions (HTML Level 1 DTD). |
3962 |
|
3963 |
$Id: html-1.dtd,v 1.5 1994/09/23 22:46:54 connolly Exp $ |
3964 |
|
3965 |
Author: Daniel W. Connolly <connolly@hal.com> |
3966 |
See Also: http://www.hal.com/%7Econnolly/html-spec/index.html |
3967 |
http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html |
3968 |
--> |
3969 |
|
3970 |
<!ENTITY % HTML.Version |
3971 |
"-//IETF//DTD HTML Level 1//EN//2.0" |
3972 |
|
3973 |
-- Typical usage: |
3974 |
|
3975 |
<!DOCTYPE HTML PUBLIC |
3976 |
|
3977 |
Berners-Lee, Connolly, et. al. Page 71 |
3978 |
|
3979 |
HTML 2.0 November 28, 1994 |
3980 |
|
3981 |
|
3982 |
"-//IETF//DTD HTML Level 1//EN"> |
3983 |
<html> |
3984 |
... |
3985 |
</html> |
3986 |
-- |
3987 |
> |
3988 |
|
3989 |
<!-- Feature Test Entities --> |
3990 |
<!ENTITY % HTML.Forms "IGNORE"> |
3991 |
|
3992 |
<!ENTITY % html PUBLIC "-//IETF//DTD HTML//EN//2.0"> |
3993 |
%html; |
3994 |
|
3995 |
6. DTD Element References |
3996 |
|
3997 |
Document type definition (DTD) element references are aids |
3998 |
to reading and understanding the DTDs. |
3999 |
|
4000 |
6.1 Recommended Level 2 Element Reference |
4001 |
|
4002 |
This listing eliminates deprecated idioms. Consult this |
4003 |
reference when generating new documents. This reference is |
4004 |
available as hypertext at |
4005 |
http://www.hal.com/%7Econnolly/html-spec/L2Pindex.html |
4006 |
|
4007 |
HTML DTD Reference |
4008 |
Generated from |
4009 |
-//IETF//DTD HTML Recommended//EN//2.0 |
4010 |
|
4011 |
Alphabetical Index |
4012 |
|
4013 |
|
4014 |
A, ADDRESS, B, BASE, BLOCKQUOTE, BODY, BR, CITE, CODE, DD, DIR, DL, DT, |
4015 |
EM, FORM, H1, H2, H3, H4, H5, H6, HEAD, HR, HTML, I, IMG, INPUT, ISINDEX |
4016 |
, KBD, LI, LINK, MENU, META, NEXTID, OL, OPTION, P, PRE, SAMP, SELECT, |
4017 |
STRONG, TEXTAREA, TITLE, TT, UL, VAR, |
4018 |
------------------------------------------------------------------------ |
4019 |
|
4020 |
A |
4021 |
|
4022 |
Required Parts |
4023 |
<A>characters... </A> |
4024 |
All Parts |
4025 |
<A HREF="..." NAME="..." REL="..." REV="..." URN="..." TITLE="..." |
4026 |
METHODS="..." >characters... <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> |
4027 |
<KBD> <VAR> <CITE> <TT> <B> <I> </A> |
4028 |
Allowed In Content Of... |
4029 |
<ADDRESS> <B> <CITE> <CODE> <DD> <DT> <EM> <H1> <H2> <H3> <H4> <H5> <H6> |
4030 |
<I> <KBD> <LI> <P> <PRE> <SAMP> <STRONG> <TT> <VAR> |
4031 |
|
4032 |
|
4033 |
Berners-Lee, Connolly, et. al. Page 72 |
4034 |
|
4035 |
HTML 2.0 November 28, 1994 |
4036 |
|
4037 |
|
4038 |
------------------------------------------------------------------------ |
4039 |
|
4040 |
ADDRESS |
4041 |
|
4042 |
Required Parts |
4043 |
<ADDRESS>characters... </ADDRESS> |
4044 |
All Parts |
4045 |
<ADDRESS>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> |
4046 |
<VAR> <CITE> <TT> <B> <I> </ADDRESS> |
4047 |
Allowed In Content Of... |
4048 |
<BLOCKQUOTE> <BODY> <FORM> |
4049 |
|
4050 |
------------------------------------------------------------------------ |
4051 |
|
4052 |
B |
4053 |
|
4054 |
Required Parts |
4055 |
<B>characters... </B> |
4056 |
All Parts |
4057 |
<B>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> <VAR> |
4058 |
<CITE> <TT> <B> <I> </B> |
4059 |
Allowed In Content Of... |
4060 |
<A> <ADDRESS> <B> <CITE> <CODE> <DD> <DT> <EM> <H1> <H2> <H3> <H4> <H5> |
4061 |
<H6> <I> <KBD> <LI> <P> <PRE> <SAMP> <STRONG> <TT> <VAR> |
4062 |
|
4063 |
------------------------------------------------------------------------ |
4064 |
|
4065 |
BASE |
4066 |
|
4067 |
Required Parts |
4068 |
<BASE HREF="..." > |
4069 |
All Parts |
4070 |
<BASE HREF="..." > |
4071 |
Allowed In Content Of... |
4072 |
<HEAD> |
4073 |
|
4074 |
------------------------------------------------------------------------ |
4075 |
|
4076 |
BLOCKQUOTE |
4077 |
|
4078 |
Required Parts |
4079 |
<BLOCKQUOTE></BLOCKQUOTE> |
4080 |
All Parts |
4081 |
<BLOCKQUOTE><H1> <H2> <H3> <H4> <H5> <H6> <P> <UL> <OL> <DIR> <MENU> |
4082 |
<DL> <PRE> <BLOCKQUOTE> <FORM> <ISINDEX> <HR> <ADDRESS> </BLOCKQUOTE> |
4083 |
Allowed In Content Of... |
4084 |
<BLOCKQUOTE> <BODY> <DD> <FORM> <LI> |
4085 |
|
4086 |
------------------------------------------------------------------------ |
4087 |
|
4088 |
|
4089 |
Berners-Lee, Connolly, et. al. Page 73 |
4090 |
|
4091 |
HTML 2.0 November 28, 1994 |
4092 |
|
4093 |
|
4094 |
BODY |
4095 |
|
4096 |
Required Parts |
4097 |
All Parts |
4098 |
<BODY><H1> <H2> <H3> <H4> <H5> <H6> <P> <UL> <OL> <DIR> <MENU> <DL> |
4099 |
<PRE> <BLOCKQUOTE> <FORM> <ISINDEX> <HR> <ADDRESS> </BODY> |
4100 |
Allowed In Content Of... |
4101 |
<HTML> |
4102 |
|
4103 |
------------------------------------------------------------------------ |
4104 |
|
4105 |
BR |
4106 |
|
4107 |
Required Parts |
4108 |
<BR> |
4109 |
All Parts |
4110 |
<BR> |
4111 |
Allowed In Content Of... |
4112 |
<A> <ADDRESS> <B> <CITE> <CODE> <DD> <DT> <EM> <H1> <H2> <H3> <H4> <H5> |
4113 |
<H6> <I> <KBD> <LI> <P> <PRE> <SAMP> <STRONG> <TT> <VAR> |
4114 |
|
4115 |
------------------------------------------------------------------------ |
4116 |
|
4117 |
CITE |
4118 |
|
4119 |
Required Parts |
4120 |
<CITE>characters... </CITE> |
4121 |
All Parts |
4122 |
<CITE>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> |
4123 |
<VAR> <CITE> <TT> <B> <I> </CITE> |
4124 |
Allowed In Content Of... |
4125 |
<A> <ADDRESS> <B> <CITE> <CODE> <DD> <DT> <EM> <H1> <H2> <H3> <H4> <H5> |
4126 |
<H6> <I> <KBD> <LI> <P> <PRE> <SAMP> <STRONG> <TT> <VAR> |
4127 |
|
4128 |
------------------------------------------------------------------------ |
4129 |
|
4130 |
CODE |
4131 |
|
4132 |
Required Parts |
4133 |
<CODE>characters... </CODE> |
4134 |
All Parts |
4135 |
<CODE>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> |
4136 |
<VAR> <CITE> <TT> <B> <I> </CODE> |
4137 |
Allowed In Content Of... |
4138 |
<A> <ADDRESS> <B> <CITE> <CODE> <DD> <DT> <EM> <H1> <H2> <H3> <H4> <H5> |
4139 |
<H6> <I> <KBD> <LI> <P> <PRE> <SAMP> <STRONG> <TT> <VAR> |
4140 |
|
4141 |
------------------------------------------------------------------------ |
4142 |
|
4143 |
DD |
4144 |
|
4145 |
Berners-Lee, Connolly, et. al. Page 74 |
4146 |
|
4147 |
HTML 2.0 November 28, 1994 |
4148 |
|
4149 |
|
4150 |
|
4151 |
Required Parts |
4152 |
<DD>characters... |
4153 |
All Parts |
4154 |
<DD>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> <VAR> |
4155 |
<CITE> <TT> <B> <I> <P> <UL> <OL> <DIR> <MENU> <DL> <PRE> <BLOCKQUOTE> |
4156 |
<FORM> <ISINDEX> </DD> |
4157 |
Allowed In Content Of... |
4158 |
<DL> |
4159 |
|
4160 |
------------------------------------------------------------------------ |
4161 |
|
4162 |
DIR |
4163 |
|
4164 |
Required Parts |
4165 |
<DIR></DIR> |
4166 |
All Parts |
4167 |
<DIR><LI> </DIR> |
4168 |
Allowed In Content Of... |
4169 |
<BLOCKQUOTE> <BODY> <DD> <FORM> <LI> |
4170 |
|
4171 |
------------------------------------------------------------------------ |
4172 |
|
4173 |
DL |
4174 |
|
4175 |
Required Parts |
4176 |
<DL></DL> |
4177 |
All Parts |
4178 |
<DL COMPACT><DT> <DD> </DL> |
4179 |
Allowed In Content Of... |
4180 |
<BLOCKQUOTE> <BODY> <DD> <FORM> <LI> |
4181 |
|
4182 |
------------------------------------------------------------------------ |
4183 |
|
4184 |
DT |
4185 |
|
4186 |
Required Parts |
4187 |
<DT>characters... |
4188 |
All Parts |
4189 |
<DT>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> <VAR> |
4190 |
<CITE> <TT> <B> <I> </DT> |
4191 |
Allowed In Content Of... |
4192 |
<DL> |
4193 |
|
4194 |
------------------------------------------------------------------------ |
4195 |
|
4196 |
EM |
4197 |
|
4198 |
Required Parts |
4199 |
<EM>characters... </EM> |
4200 |
|
4201 |
Berners-Lee, Connolly, et. al. Page 75 |
4202 |
|
4203 |
HTML 2.0 November 28, 1994 |
4204 |
|
4205 |
|
4206 |
All Parts |
4207 |
<EM>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> <VAR> |
4208 |
<CITE> <TT> <B> <I> </EM> |
4209 |
Allowed In Content Of... |
4210 |
<A> <ADDRESS> <B> <CITE> <CODE> <DD> <DT> <EM> <H1> <H2> <H3> <H4> <H5> |
4211 |
<H6> <I> <KBD> <LI> <P> <PRE> <SAMP> <STRONG> <TT> <VAR> |
4212 |
|
4213 |
------------------------------------------------------------------------ |
4214 |
|
4215 |
FORM |
4216 |
|
4217 |
Required Parts |
4218 |
<FORM ACTION="..." ></FORM> |
4219 |
All Parts |
4220 |
<FORM ACTION="..." METHOD="..." ENCTYPE="..." ><H1> <H2> <H3> <H4> <H5> |
4221 |
<H6> <P> <UL> <OL> <DIR> <MENU> <DL> <PRE> <BLOCKQUOTE> <ISINDEX> <HR> |
4222 |
<ADDRESS> <INPUT> <SELECT> <TEXTAREA> </FORM> |
4223 |
Allowed In Content Of... |
4224 |
<BLOCKQUOTE> <BODY> <DD> <LI> |
4225 |
|
4226 |
------------------------------------------------------------------------ |
4227 |
|
4228 |
H1 |
4229 |
|
4230 |
Required Parts |
4231 |
<H1>characters... </H1> |
4232 |
All Parts |
4233 |
<H1>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> <VAR> |
4234 |
<CITE> <TT> <B> <I> </H1> |
4235 |
Allowed In Content Of... |
4236 |
<BLOCKQUOTE> <BODY> <FORM> |
4237 |
|
4238 |
------------------------------------------------------------------------ |
4239 |
|
4240 |
H2 |
4241 |
|
4242 |
Required Parts |
4243 |
<H2>characters... </H2> |
4244 |
All Parts |
4245 |
<H2>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> <VAR> |
4246 |
<CITE> <TT> <B> <I> </H2> |
4247 |
Allowed In Content Of... |
4248 |
<BLOCKQUOTE> <BODY> <FORM> |
4249 |
|
4250 |
------------------------------------------------------------------------ |
4251 |
|
4252 |
H3 |
4253 |
|
4254 |
Required Parts |
4255 |
<H3>characters... </H3> |
4256 |
|
4257 |
Berners-Lee, Connolly, et. al. Page 76 |
4258 |
|
4259 |
HTML 2.0 November 28, 1994 |
4260 |
|
4261 |
|
4262 |
All Parts |
4263 |
<H3>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> <VAR> |
4264 |
<CITE> <TT> <B> <I> </H3> |
4265 |
Allowed In Content Of... |
4266 |
<BLOCKQUOTE> <BODY> <FORM> |
4267 |
|
4268 |
------------------------------------------------------------------------ |
4269 |
|
4270 |
H4 |
4271 |
|
4272 |
Required Parts |
4273 |
<H4>characters... </H4> |
4274 |
All Parts |
4275 |
<H4>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> <VAR> |
4276 |
<CITE> <TT> <B> <I> </H4> |
4277 |
Allowed In Content Of... |
4278 |
<BLOCKQUOTE> <BODY> <FORM> |
4279 |
|
4280 |
------------------------------------------------------------------------ |
4281 |
|
4282 |
H5 |
4283 |
|
4284 |
Required Parts |
4285 |
<H5>characters... </H5> |
4286 |
All Parts |
4287 |
<H5>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> <VAR> |
4288 |
<CITE> <TT> <B> <I> </H5> |
4289 |
Allowed In Content Of... |
4290 |
<BLOCKQUOTE> <BODY> <FORM> |
4291 |
|
4292 |
------------------------------------------------------------------------ |
4293 |
|
4294 |
H6 |
4295 |
|
4296 |
Required Parts |
4297 |
<H6>characters... </H6> |
4298 |
All Parts |
4299 |
<H6>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> <VAR> |
4300 |
<CITE> <TT> <B> <I> </H6> |
4301 |
Allowed In Content Of... |
4302 |
<BLOCKQUOTE> <BODY> <FORM> |
4303 |
|
4304 |
------------------------------------------------------------------------ |
4305 |
|
4306 |
HEAD |
4307 |
|
4308 |
Required Parts |
4309 |
All Parts |
4310 |
<HEAD><TITLE> <ISINDEX> <BASE> <META> <NEXTID> <LINK> </HEAD> |
4311 |
Allowed In Content Of... |
4312 |
|
4313 |
Berners-Lee, Connolly, et. al. Page 77 |
4314 |
|
4315 |
HTML 2.0 November 28, 1994 |
4316 |
|
4317 |
|
4318 |
<HTML> |
4319 |
|
4320 |
------------------------------------------------------------------------ |
4321 |
|
4322 |
HR |
4323 |
|
4324 |
Required Parts |
4325 |
<HR> |
4326 |
All Parts |
4327 |
<HR> |
4328 |
Allowed In Content Of... |
4329 |
<BLOCKQUOTE> <BODY> <FORM> <PRE> |
4330 |
|
4331 |
------------------------------------------------------------------------ |
4332 |
|
4333 |
HTML |
4334 |
|
4335 |
Required Parts |
4336 |
All Parts |
4337 |
<HTML VERSION="..." ><HEAD> <BODY> </HTML> |
4338 |
Allowed In Content Of... |
4339 |
|
4340 |
------------------------------------------------------------------------ |
4341 |
|
4342 |
I |
4343 |
|
4344 |
Required Parts |
4345 |
<I>characters... </I> |
4346 |
All Parts |
4347 |
<I>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> <VAR> |
4348 |
<CITE> <TT> <B> <I> </I> |
4349 |
Allowed In Content Of... |
4350 |
<A> <ADDRESS> <B> <CITE> <CODE> <DD> <DT> <EM> <H1> <H2> <H3> <H4> <H5> |
4351 |
<H6> <I> <KBD> <LI> <P> <PRE> <SAMP> <STRONG> <TT> <VAR> |
4352 |
|
4353 |
------------------------------------------------------------------------ |
4354 |
|
4355 |
IMG |
4356 |
|
4357 |
Required Parts |
4358 |
<IMG SRC="..." > |
4359 |
All Parts |
4360 |
<IMG SRC="..." ALT="..." ALIGN="..." ISMAP> |
4361 |
Allowed In Content Of... |
4362 |
<A> <ADDRESS> <B> <CITE> <CODE> <DD> <DT> <EM> <H1> <H2> <H3> <H4> <H5> |
4363 |
<H6> <I> <KBD> <LI> <P> <SAMP> <STRONG> <TT> <VAR> |
4364 |
|
4365 |
------------------------------------------------------------------------ |
4366 |
|
4367 |
INPUT |
4368 |
|
4369 |
Berners-Lee, Connolly, et. al. Page 78 |
4370 |
|
4371 |
HTML 2.0 November 28, 1994 |
4372 |
|
4373 |
|
4374 |
|
4375 |
Required Parts |
4376 |
<INPUT> |
4377 |
All Parts |
4378 |
<INPUT TYPE="..." NAME="..." VALUE="..." SRC="..." CHECKED SIZE="..." |
4379 |
MAXLENGTH="..." ALIGN="..." > |
4380 |
Allowed In Content Of... |
4381 |
<FORM> |
4382 |
|
4383 |
------------------------------------------------------------------------ |
4384 |
|
4385 |
ISINDEX |
4386 |
|
4387 |
Required Parts |
4388 |
<ISINDEX> |
4389 |
All Parts |
4390 |
<ISINDEX> |
4391 |
Allowed In Content Of... |
4392 |
<BLOCKQUOTE> <BODY> <DD> <FORM> <HEAD> <LI> |
4393 |
|
4394 |
------------------------------------------------------------------------ |
4395 |
|
4396 |
KBD |
4397 |
|
4398 |
Required Parts |
4399 |
<KBD>characters... </KBD> |
4400 |
All Parts |
4401 |
<KBD>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> |
4402 |
<VAR> <CITE> <TT> <B> <I> </KBD> |
4403 |
Allowed In Content Of... |
4404 |
<A> <ADDRESS> <B> <CITE> <CODE> <DD> <DT> <EM> <H1> <H2> <H3> <H4> <H5> |
4405 |
<H6> <I> <KBD> <LI> <P> <PRE> <SAMP> <STRONG> <TT> <VAR> |
4406 |
|
4407 |
------------------------------------------------------------------------ |
4408 |
|
4409 |
LI |
4410 |
|
4411 |
Required Parts |
4412 |
<LI>characters... |
4413 |
All Parts |
4414 |
<LI>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> <VAR> |
4415 |
<CITE> <TT> <B> <I> <P> <UL> <OL> <DIR> <MENU> <DL> <PRE> <BLOCKQUOTE> |
4416 |
<FORM> <ISINDEX> </LI> |
4417 |
Allowed In Content Of... |
4418 |
<DIR> <MENU> <OL> <UL> |
4419 |
|
4420 |
------------------------------------------------------------------------ |
4421 |
|
4422 |
LINK |
4423 |
|
4424 |
|
4425 |
Berners-Lee, Connolly, et. al. Page 79 |
4426 |
|
4427 |
HTML 2.0 November 28, 1994 |
4428 |
|
4429 |
|
4430 |
Required Parts |
4431 |
<LINK HREF="..." > |
4432 |
All Parts |
4433 |
<LINK HREF="..." REL="..." REV="..." URN="..." TITLE="..." |
4434 |
METHODS="..." > |
4435 |
Allowed In Content Of... |
4436 |
<HEAD> |
4437 |
|
4438 |
------------------------------------------------------------------------ |
4439 |
|
4440 |
MENU |
4441 |
|
4442 |
Required Parts |
4443 |
<MENU></MENU> |
4444 |
All Parts |
4445 |
<MENU><LI> </MENU> |
4446 |
Allowed In Content Of... |
4447 |
<BLOCKQUOTE> <BODY> <DD> <FORM> <LI> |
4448 |
|
4449 |
------------------------------------------------------------------------ |
4450 |
|
4451 |
META |
4452 |
|
4453 |
Required Parts |
4454 |
<META CONTENT="..." > |
4455 |
All Parts |
4456 |
<META HTTP-EQUIV="..." NAME="..." CONTENT="..." > |
4457 |
Allowed In Content Of... |
4458 |
<HEAD> |
4459 |
|
4460 |
------------------------------------------------------------------------ |
4461 |
|
4462 |
NEXTID |
4463 |
|
4464 |
Required Parts |
4465 |
<NEXTID N="..." > |
4466 |
All Parts |
4467 |
<NEXTID N="..." > |
4468 |
Allowed In Content Of... |
4469 |
<HEAD> |
4470 |
|
4471 |
------------------------------------------------------------------------ |
4472 |
|
4473 |
OL |
4474 |
|
4475 |
Required Parts |
4476 |
<OL></OL> |
4477 |
All Parts |
4478 |
<OL><LI> </OL> |
4479 |
Allowed In Content Of... |
4480 |
|
4481 |
Berners-Lee, Connolly, et. al. Page 80 |
4482 |
|
4483 |
HTML 2.0 November 28, 1994 |
4484 |
|
4485 |
|
4486 |
<BLOCKQUOTE> <BODY> <DD> <FORM> <LI> |
4487 |
|
4488 |
------------------------------------------------------------------------ |
4489 |
|
4490 |
OPTION |
4491 |
|
4492 |
Required Parts |
4493 |
<OPTION>characters... |
4494 |
All Parts |
4495 |
<OPTION SELECTED VALUE="..." >characters... </OPTION> |
4496 |
Allowed In Content Of... |
4497 |
<SELECT> |
4498 |
|
4499 |
------------------------------------------------------------------------ |
4500 |
|
4501 |
P |
4502 |
|
4503 |
Required Parts |
4504 |
<P>characters... |
4505 |
All Parts |
4506 |
<P>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> <VAR> |
4507 |
<CITE> <TT> <B> <I> </P> |
4508 |
Allowed In Content Of... |
4509 |
<BLOCKQUOTE> <BODY> <DD> <FORM> <LI> |
4510 |
|
4511 |
------------------------------------------------------------------------ |
4512 |
|
4513 |
PRE |
4514 |
|
4515 |
Required Parts |
4516 |
<PRE>characters... </PRE> |
4517 |
All Parts |
4518 |
<PRE WIDTH="..." >characters... <A> <HR> <BR> <TT> <B> <I> <EM> <STRONG> |
4519 |
<CODE> <SAMP> <KBD> <VAR> <CITE> </PRE> |
4520 |
Allowed In Content Of... |
4521 |
<BLOCKQUOTE> <BODY> <DD> <FORM> <LI> |
4522 |
|
4523 |
------------------------------------------------------------------------ |
4524 |
|
4525 |
SAMP |
4526 |
|
4527 |
Required Parts |
4528 |
<SAMP>characters... </SAMP> |
4529 |
All Parts |
4530 |
<SAMP>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> |
4531 |
<VAR> <CITE> <TT> <B> <I> </SAMP> |
4532 |
Allowed In Content Of... |
4533 |
<A> <ADDRESS> <B> <CITE> <CODE> <DD> <DT> <EM> <H1> <H2> <H3> <H4> <H5> |
4534 |
<H6> <I> <KBD> <LI> <P> <PRE> <SAMP> <STRONG> <TT> <VAR> |
4535 |
|
4536 |
|
4537 |
Berners-Lee, Connolly, et. al. Page 81 |
4538 |
|
4539 |
HTML 2.0 November 28, 1994 |
4540 |
|
4541 |
|
4542 |
------------------------------------------------------------------------ |
4543 |
|
4544 |
SELECT |
4545 |
|
4546 |
Required Parts |
4547 |
<SELECT NAME="..." ></SELECT> |
4548 |
All Parts |
4549 |
<SELECT NAME="..." SIZE="..." MULTIPLE><OPTION> </SELECT> |
4550 |
Allowed In Content Of... |
4551 |
<FORM> |
4552 |
|
4553 |
------------------------------------------------------------------------ |
4554 |
|
4555 |
STRONG |
4556 |
|
4557 |
Required Parts |
4558 |
<STRONG>characters... </STRONG> |
4559 |
All Parts |
4560 |
<STRONG>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> |
4561 |
<VAR> <CITE> <TT> <B> <I> </STRONG> |
4562 |
Allowed In Content Of... |
4563 |
<A> <ADDRESS> <B> <CITE> <CODE> <DD> <DT> <EM> <H1> <H2> <H3> <H4> <H5> |
4564 |
<H6> <I> <KBD> <LI> <P> <PRE> <SAMP> <STRONG> <TT> <VAR> |
4565 |
|
4566 |
------------------------------------------------------------------------ |
4567 |
|
4568 |
TEXTAREA |
4569 |
|
4570 |
Required Parts |
4571 |
<TEXTAREA NAME="..." ROWS="..." COLS="..." >characters... </TEXTAREA> |
4572 |
All Parts |
4573 |
<TEXTAREA NAME="..." ROWS="..." COLS="..." >characters... </TEXTAREA> |
4574 |
Allowed In Content Of... |
4575 |
<FORM> |
4576 |
|
4577 |
------------------------------------------------------------------------ |
4578 |
|
4579 |
TITLE |
4580 |
|
4581 |
Required Parts |
4582 |
<TITLE>characters... </TITLE> |
4583 |
All Parts |
4584 |
<TITLE>characters... </TITLE> |
4585 |
Allowed In Content Of... |
4586 |
<HEAD> |
4587 |
|
4588 |
------------------------------------------------------------------------ |
4589 |
|
4590 |
TT |
4591 |
|
4592 |
|
4593 |
Berners-Lee, Connolly, et. al. Page 82 |
4594 |
|
4595 |
HTML 2.0 November 28, 1994 |
4596 |
|
4597 |
|
4598 |
Required Parts |
4599 |
<TT>characters... </TT> |
4600 |
All Parts |
4601 |
<TT>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> <VAR> |
4602 |
<CITE> <TT> <B> <I> </TT> |
4603 |
Allowed In Content Of... |
4604 |
<A> <ADDRESS> <B> <CITE> <CODE> <DD> <DT> <EM> <H1> <H2> <H3> <H4> <H5> |
4605 |
<H6> <I> <KBD> <LI> <P> <PRE> <SAMP> <STRONG> <TT> <VAR> |
4606 |
|
4607 |
------------------------------------------------------------------------ |
4608 |
|
4609 |
UL |
4610 |
|
4611 |
Required Parts |
4612 |
<UL></UL> |
4613 |
All Parts |
4614 |
<UL COMPACT><LI> </UL> |
4615 |
Allowed In Content Of... |
4616 |
<BLOCKQUOTE> <BODY> <DD> <FORM> <LI> |
4617 |
|
4618 |
------------------------------------------------------------------------ |
4619 |
|
4620 |
VAR |
4621 |
|
4622 |
Required Parts |
4623 |
<VAR>characters... </VAR> |
4624 |
All Parts |
4625 |
<VAR>characters... <A> <IMG> <BR> <EM> <STRONG> <CODE> <SAMP> <KBD> |
4626 |
<VAR> <CITE> <TT> <B> <I> </VAR> |
4627 |
Allowed In Content Of... |
4628 |
<A> <ADDRESS> <B> <CITE> <CODE> <DD> <DT> <EM> <H1> <H2> <H3> <H4> <H5> |
4629 |
<H6> <I> <KBD> <LI> <P> <PRE> <SAMP> <STRONG> <TT> <VAR> |
4630 |
|
4631 |
6.2 Recommended Level 0 Element Reference |
4632 |
|
4633 |
This listing eliminates deprecated idioms. Consult this |
4634 |
reference when generating new documents aimed at minimally |
4635 |
conforming implementations. This reference is available as |
4636 |
hypertext at |
4637 |
http://www.hal.com/%7Econnolly/html-spec/L0Pindex.html |
4638 |
|
4639 |
HTML DTD Reference |
4640 |
|
4641 |
Generated from |
4642 |
-//IETF//DTD HTML Level 0 Recommended//EN//2.0 |
4643 |
|
4644 |
Alphabetical Index |
4645 |
|
4646 |
|
4647 |
A, ADDRESS, BASE, BLOCKQUOTE, BODY, BR, DD, DIR, DL, DT, H1, H2, H3, |
4648 |
|
4649 |
Berners-Lee, Connolly, et. al. Page 83 |
4650 |
|
4651 |
HTML 2.0 November 28, 1994 |
4652 |
|
4653 |
|
4654 |
H4, H5, H6, HEAD, HR, HTML, IMG, ISINDEX, LI, LINK, MENU, META, |
4655 |
NEXTID, OL, P, PRE, TITLE, UL, |
4656 |
------------------------------------------------------------------------ |
4657 |
|
4658 |
A |
4659 |
|
4660 |
Required Parts |
4661 |
<A>characters... </A> |
4662 |
All Parts |
4663 |
<A HREF="..." NAME="..." >characters... <IMG> <BR> </A> |
4664 |
Allowed In Content Of... |
4665 |
<ADDRESS> <DD> <DT> <H1> <H2> <H3> <H4> <H5> <H6> <LI> <P> <PRE> |
4666 |
|
4667 |
------------------------------------------------------------------------ |
4668 |
|
4669 |
ADDRESS |
4670 |
|
4671 |
Required Parts |
4672 |
<ADDRESS>characters... </ADDRESS> |
4673 |
All Parts |
4674 |
<ADDRESS>characters... <A> <IMG> <BR> </ADDRESS> |
4675 |
Allowed In Content Of... |
4676 |
<BLOCKQUOTE> <BODY> |
4677 |
|
4678 |
------------------------------------------------------------------------ |
4679 |
|
4680 |
BASE |
4681 |
|
4682 |
Required Parts |
4683 |
<BASE HREF="..." > |
4684 |
All Parts |
4685 |
<BASE HREF="..." > |
4686 |
Allowed In Content Of... |
4687 |
<HEAD> |
4688 |
|
4689 |
------------------------------------------------------------------------ |
4690 |
|
4691 |
BLOCKQUOTE |
4692 |
|
4693 |
Required Parts |
4694 |
<BLOCKQUOTE></BLOCKQUOTE> |
4695 |
All Parts |
4696 |
<BLOCKQUOTE><H1> <H2> <H3> <H4> <H5> <H6> <P> <UL> <OL> <DIR> <MENU> |
4697 |
<DL> <PRE> <BLOCKQUOTE> <HR> <ADDRESS> </BLOCKQUOTE> |
4698 |
Allowed In Content Of... |
4699 |
<BLOCKQUOTE> <BODY> <DD> <LI> |
4700 |
|
4701 |
------------------------------------------------------------------------ |
4702 |
|
4703 |
BODY |
4704 |
|
4705 |
Berners-Lee, Connolly, et. al. Page 84 |
4706 |
|
4707 |
HTML 2.0 November 28, 1994 |
4708 |
|
4709 |
|
4710 |
|
4711 |
Required Parts |
4712 |
All Parts |
4713 |
<BODY><H1> <H2> <H3> <H4> <H5> <H6> <P> <UL> <OL> <DIR> <MENU> <DL> |
4714 |
<PRE> <BLOCKQUOTE> <HR> <ADDRESS> </BODY> |
4715 |
Allowed In Content Of... |
4716 |
<HTML> |
4717 |
|
4718 |
------------------------------------------------------------------------ |
4719 |
|
4720 |
BR |
4721 |
|
4722 |
Required Parts |
4723 |
<BR> |
4724 |
All Parts |
4725 |
<BR> |
4726 |
Allowed In Content Of... |
4727 |
<A> <ADDRESS> <DD> <DT> <H1> <H2> <H3> <H4> <H5> <H6> <LI> <P> <PRE> |
4728 |
|
4729 |
------------------------------------------------------------------------ |
4730 |
|
4731 |
DD |
4732 |
|
4733 |
Required Parts |
4734 |
<DD>characters... |
4735 |
All Parts |
4736 |
<DD>characters... <A> <IMG> <BR> <P> <UL> <OL> <DIR> <MENU> <DL> <PRE> |
4737 |
<BLOCKQUOTE> </DD> |
4738 |
Allowed In Content Of... |
4739 |
<DL> |
4740 |
|
4741 |
------------------------------------------------------------------------ |
4742 |
|
4743 |
DIR |
4744 |
|
4745 |
Required Parts |
4746 |
<DIR></DIR> |
4747 |
All Parts |
4748 |
<DIR><LI> </DIR> |
4749 |
Allowed In Content Of... |
4750 |
<BLOCKQUOTE> <BODY> <DD> <LI> |
4751 |
|
4752 |
------------------------------------------------------------------------ |
4753 |
|
4754 |
DL |
4755 |
|
4756 |
Required Parts |
4757 |
<DL></DL> |
4758 |
All Parts |
4759 |
<DL COMPACT><DT> <DD> </DL> |
4760 |
|
4761 |
Berners-Lee, Connolly, et. al. Page 85 |
4762 |
|
4763 |
HTML 2.0 November 28, 1994 |
4764 |
|
4765 |
|
4766 |
Allowed In Content Of... |
4767 |
<BLOCKQUOTE> <BODY> <DD> <LI> |
4768 |
|
4769 |
------------------------------------------------------------------------ |
4770 |
|
4771 |
DT |
4772 |
|
4773 |
Required Parts |
4774 |
<DT>characters... |
4775 |
All Parts |
4776 |
<DT>characters... <A> <IMG> <BR> </DT> |
4777 |
Allowed In Content Of... |
4778 |
<DL> |
4779 |
|
4780 |
------------------------------------------------------------------------ |
4781 |
|
4782 |
H1 |
4783 |
|
4784 |
Required Parts |
4785 |
<H1>characters... </H1> |
4786 |
All Parts |
4787 |
<H1>characters... <A> <IMG> <BR> </H1> |
4788 |
Allowed In Content Of... |
4789 |
<BLOCKQUOTE> <BODY> |
4790 |
|
4791 |
------------------------------------------------------------------------ |
4792 |
|
4793 |
H2 |
4794 |
|
4795 |
Required Parts |
4796 |
<H2>characters... </H2> |
4797 |
All Parts |
4798 |
<H2>characters... <A> <IMG> <BR> </H2> |
4799 |
Allowed In Content Of... |
4800 |
<BLOCKQUOTE> <BODY> |
4801 |
|
4802 |
------------------------------------------------------------------------ |
4803 |
|
4804 |
H3 |
4805 |
|
4806 |
Required Parts |
4807 |
<H3>characters... </H3> |
4808 |
All Parts |
4809 |
<H3>characters... <A> <IMG> <BR> </H3> |
4810 |
Allowed In Content Of... |
4811 |
<BLOCKQUOTE> <BODY> |
4812 |
|
4813 |
------------------------------------------------------------------------ |
4814 |
|
4815 |
H4 |
4816 |
|
4817 |
Berners-Lee, Connolly, et. al. Page 86 |
4818 |
|
4819 |
HTML 2.0 November 28, 1994 |
4820 |
|
4821 |
|
4822 |
|
4823 |
Required Parts |
4824 |
<H4>characters... </H4> |
4825 |
All Parts |
4826 |
<H4>characters... <A> <IMG> <BR> </H4> |
4827 |
Allowed In Content Of... |
4828 |
<BLOCKQUOTE> <BODY> |
4829 |
|
4830 |
------------------------------------------------------------------------ |
4831 |
|
4832 |
H5 |
4833 |
|
4834 |
Required Parts |
4835 |
<H5>characters... </H5> |
4836 |
All Parts |
4837 |
<H5>characters... <A> <IMG> <BR> </H5> |
4838 |
Allowed In Content Of... |
4839 |
<BLOCKQUOTE> <BODY> |
4840 |
|
4841 |
------------------------------------------------------------------------ |
4842 |
|
4843 |
H6 |
4844 |
|
4845 |
Required Parts |
4846 |
<H6>characters... </H6> |
4847 |
All Parts |
4848 |
<H6>characters... <A> <IMG> <BR> </H6> |
4849 |
Allowed In Content Of... |
4850 |
<BLOCKQUOTE> <BODY> |
4851 |
|
4852 |
------------------------------------------------------------------------ |
4853 |
|
4854 |
HEAD |
4855 |
|
4856 |
Required Parts |
4857 |
All Parts |
4858 |
<HEAD><TITLE> <ISINDEX> <BASE> <META> <NEXTID> </HEAD> |
4859 |
Allowed In Content Of... |
4860 |
<HTML> |
4861 |
|
4862 |
------------------------------------------------------------------------ |
4863 |
|
4864 |
HR |
4865 |
|
4866 |
Required Parts |
4867 |
<HR> |
4868 |
All Parts |
4869 |
<HR> |
4870 |
Allowed In Content Of... |
4871 |
<BLOCKQUOTE> <BODY> <PRE> |
4872 |
|
4873 |
Berners-Lee, Connolly, et. al. Page 87 |
4874 |
|
4875 |
HTML 2.0 November 28, 1994 |
4876 |
|
4877 |
|
4878 |
|
4879 |
------------------------------------------------------------------------ |
4880 |
|
4881 |
HTML |
4882 |
|
4883 |
Required Parts |
4884 |
All Parts |
4885 |
<HTML VERSION="..." ><HEAD> <BODY> </HTML> |
4886 |
Allowed In Content Of... |
4887 |
|
4888 |
------------------------------------------------------------------------ |
4889 |
|
4890 |
IMG |
4891 |
|
4892 |
Required Parts |
4893 |
<IMG SRC="..." ALT="..." > |
4894 |
All Parts |
4895 |
<IMG SRC="..." ALT="..." ALIGN="..." ISMAP> |
4896 |
Allowed In Content Of... |
4897 |
<A> <ADDRESS> <DD> <DT> <H1> <H2> <H3> <H4> <H5> <H6> <LI> <P> |
4898 |
|
4899 |
------------------------------------------------------------------------ |
4900 |
|
4901 |
ISINDEX |
4902 |
|
4903 |
Required Parts |
4904 |
<ISINDEX> |
4905 |
All Parts |
4906 |
<ISINDEX> |
4907 |
Allowed In Content Of... |
4908 |
<HEAD> |
4909 |
|
4910 |
------------------------------------------------------------------------ |
4911 |
|
4912 |
LI |
4913 |
|
4914 |
Required Parts |
4915 |
<LI>characters... |
4916 |
All Parts |
4917 |
<LI>characters... <A> <IMG> <BR> <P> <UL> <OL> <DIR> <MENU> <DL> <PRE> |
4918 |
<BLOCKQUOTE> </LI> |
4919 |
Allowed In Content Of... |
4920 |
<DIR> <MENU> <OL> <UL> |
4921 |
|
4922 |
------------------------------------------------------------------------ |
4923 |
|
4924 |
LINK |
4925 |
|
4926 |
Required Parts |
4927 |
<LINK HREF="..." > |
4928 |
|
4929 |
Berners-Lee, Connolly, et. al. Page 88 |
4930 |
|
4931 |
HTML 2.0 November 28, 1994 |
4932 |
|
4933 |
|
4934 |
All Parts |
4935 |
<LINK HREF="..." > |
4936 |
Allowed In Content Of... |
4937 |
|
4938 |
------------------------------------------------------------------------ |
4939 |
|
4940 |
MENU |
4941 |
|
4942 |
Required Parts |
4943 |
<MENU></MENU> |
4944 |
All Parts |
4945 |
<MENU><LI> </MENU> |
4946 |
Allowed In Content Of... |
4947 |
<BLOCKQUOTE> <BODY> <DD> <LI> |
4948 |
|
4949 |
------------------------------------------------------------------------ |
4950 |
|
4951 |
META |
4952 |
|
4953 |
Required Parts |
4954 |
<META CONTENT="..." > |
4955 |
All Parts |
4956 |
<META HTTP-EQUIV="..." NAME="..." CONTENT="..." > |
4957 |
Allowed In Content Of... |
4958 |
<HEAD> |
4959 |
|
4960 |
------------------------------------------------------------------------ |
4961 |
|
4962 |
NEXTID |
4963 |
|
4964 |
Required Parts |
4965 |
<NEXTID N="..." > |
4966 |
All Parts |
4967 |
<NEXTID N="..." > |
4968 |
Allowed In Content Of... |
4969 |
<HEAD> |
4970 |
|
4971 |
------------------------------------------------------------------------ |
4972 |
|
4973 |
OL |
4974 |
|
4975 |
Required Parts |
4976 |
<OL></OL> |
4977 |
All Parts |
4978 |
<OL><LI> </OL> |
4979 |
Allowed In Content Of... |
4980 |
<BLOCKQUOTE> <BODY> <DD> <LI> |
4981 |
|
4982 |
------------------------------------------------------------------------ |
4983 |
|
4984 |
|
4985 |
Berners-Lee, Connolly, et. al. Page 89 |
4986 |
|
4987 |
HTML 2.0 November 28, 1994 |
4988 |
|
4989 |
|
4990 |
P |
4991 |
|
4992 |
Required Parts |
4993 |
<P>characters... |
4994 |
All Parts |
4995 |
<P>characters... <A> <IMG> <BR> </P> |
4996 |
Allowed In Content Of... |
4997 |
<BLOCKQUOTE> <BODY> <DD> <LI> |
4998 |
|
4999 |
------------------------------------------------------------------------ |
5000 |
|
5001 |
PRE |
5002 |
|
5003 |
Required Parts |
5004 |
<PRE>characters... </PRE> |
5005 |
All Parts |
5006 |
<PRE WIDTH="..." >characters... <A> <HR> <BR> </PRE> |
5007 |
Allowed In Content Of... |
5008 |
<BLOCKQUOTE> <BODY> <DD> <LI> |
5009 |
|
5010 |
------------------------------------------------------------------------ |
5011 |
|
5012 |
TITLE |
5013 |
|
5014 |
Required Parts |
5015 |
<TITLE>characters... </TITLE> |
5016 |
All Parts |
5017 |
<TITLE>characters... </TITLE> |
5018 |
Allowed In Content Of... |
5019 |
<HEAD> |
5020 |
|
5021 |
------------------------------------------------------------------------ |
5022 |
|
5023 |
UL |
5024 |
|
5025 |
Required Parts |
5026 |
<UL></UL> |
5027 |
All Parts |
5028 |
<UL COMPACT><LI> </UL> |
5029 |
Allowed In Content Of... |
5030 |
<BLOCKQUOTE> <BODY> <DD> <LI> |
5031 |
|
5032 |
|
5033 |
7. Glossary |
5034 |
|
5035 |
The HTML specification uses these words with precise |
5036 |
meanings: |
5037 |
|
5038 |
attribute |
5039 |
|
5040 |
|
5041 |
Berners-Lee, Connolly, et. al. Page 90 |
5042 |
|
5043 |
HTML 2.0 November 28, 1994 |
5044 |
|
5045 |
|
5046 |
A syntactical component of an HTML element which is |
5047 |
often used to specify a characteristic quality of an |
5048 |
element, other than type or content. |
5049 |
|
5050 |
document type definition (DTD) |
5051 |
|
5052 |
A DTD is a collection of declarations (entity, element, |
5053 |
attribute, link, map, etc.) in SGML syntax that defines |
5054 |
the components and structures available for a class |
5055 |
(type) of documents. |
5056 |
|
5057 |
element |
5058 |
|
5059 |
A component of the hierarchical structure defined by the |
5060 |
document type definition; it is identified in a document |
5061 |
instance by descriptive markup, usually a start-tag and |
5062 |
an end-tag. |
5063 |
|
5064 |
HTML |
5065 |
|
5066 |
HyperText Markup Language. |
5067 |
|
5068 |
HTML user agent |
5069 |
|
5070 |
Any tool used with HTML documents. |
5071 |
|
5072 |
HTML document |
5073 |
|
5074 |
A collection of information represented as a sequence of |
5075 |
characters. An HTML document consists of data characters |
5076 |
and markup. In particular, the markup describes a |
5077 |
structure conforming to the HTML document type |
5078 |
definition. |
5079 |
|
5080 |
HTTP |
5081 |
|
5082 |
A generic stateless object-oriented protocol, which may |
5083 |
be used for many similar tasks by extending the |
5084 |
commands, or "methods", used. For example, you might use |
5085 |
HTTP for name servers and distributed object-oriented |
5086 |
systems, With HTTP, the negotiation of data |
5087 |
representation allows systems to be built independent of |
5088 |
the development of new representations. For more |
5089 |
information see: |
5090 |
http://info.cern.ch/hypertext/WWW/Protocols/HTTP/HTTP2.html |
5091 |
|
5092 |
(document) instance |
5093 |
|
5094 |
The document itself including the actual content with |
5095 |
the actual markup. Can be a single document or part of a |
5096 |
|
5097 |
Berners-Lee, Connolly, et. al. Page 91 |
5098 |
|
5099 |
HTML 2.0 November 28, 1994 |
5100 |
|
5101 |
|
5102 |
document instance set that follows the DTD. |
5103 |
|
5104 |
markup |
5105 |
|
5106 |
Text added to the data of a document to convey |
5107 |
information about it. There are four different kinds of |
5108 |
markup: descriptive markup (tags), references, markup |
5109 |
declarations, and processing instructions. |
5110 |
|
5111 |
Multipurpose Internet Mail Extensions (MIME) |
5112 |
|
5113 |
An extension to Internet email which provides the |
5114 |
ability to transfer non-textual data, such as graphics, |
5115 |
audio and fax. It is defined in RFC 1341. |
5116 |
|
5117 |
representation |
5118 |
|
5119 |
The encoding of information for interchange. For |
5120 |
example, HTML is a representation of hypertext. |
5121 |
|
5122 |
rendering |
5123 |
|
5124 |
Formatting and presenting information. |
5125 |
|
5126 |
SGML |
5127 |
|
5128 |
Standard Generalized Markup Language is a data encoding |
5129 |
that allows the information in documents to be shared - |
5130 |
either by other document publishing systems or by |
5131 |
applications for electronic delivery, configuration |
5132 |
management, database management, inventory control, etc. |
5133 |
Defined in ISO 8879:1986 Information Processing Text and |
5134 |
Office Systems; Standard Generalized Markup Language |
5135 |
(SGML). |
5136 |
|
5137 |
SGMLS |
5138 |
|
5139 |
An SGML parser by James Clark, jjc@jclark.com, derived |
5140 |
from the ARCSGML parser materials which were written by |
5141 |
Charles F. Goldfarb. The source is available at |
5142 |
ftp.ifi.uio.no/pub/SGML/SGMLS. |
5143 |
|
5144 |
tag |
5145 |
|
5146 |
Descriptive markup. There are two kinds of tags; start- |
5147 |
tags and end-tags. |
5148 |
|
5149 |
URI |
5150 |
|
5151 |
Universal Resource Identifiers (URIs) is the name for a |
5152 |
|
5153 |
Berners-Lee, Connolly, et. al. Page 92 |
5154 |
|
5155 |
HTML 2.0 November 28, 1994 |
5156 |
|
5157 |
|
5158 |
generic WWW identifier. The URI specification simply |
5159 |
defines the syntax for encoding arbitrary naming or |
5160 |
addressing schemes, and has a list of such schemes. See |
5161 |
also: http://info.cern.ch/hypertext/WWW/Addressing/Addressing.html |
5162 |
|
5163 |
WWW |
5164 |
|
5165 |
A hypertext-based, distributed information system |
5166 |
created by researchers at CERN in Switzerland. Users may |
5167 |
create, edit or browse hypertext documents. The clients |
5168 |
and servers are freely available.See also: |
5169 |
http://info.cern.ch/hypertext/WWW/TheProject.html |
5170 |
|
5171 |
7.1 Imperatives |
5172 |
|
5173 |
may |
5174 |
|
5175 |
The implementation is not obliged to follow this in any |
5176 |
way. |
5177 |
|
5178 |
must |
5179 |
|
5180 |
If this is not followed, the implementation does not |
5181 |
conform to this specification. |
5182 |
|
5183 |
shall |
5184 |
|
5185 |
If this is not followed, the implementation does not |
5186 |
conform to this specification. |
5187 |
|
5188 |
should |
5189 |
|
5190 |
If this is not followed, though the implementation |
5191 |
officially conforms to the specification, undesirable |
5192 |
results may occur in practice. |
5193 |
|
5194 |
typical |
5195 |
|
5196 |
Typical rendering is described for many elements. This |
5197 |
is not a mandatory part of the specification but is |
5198 |
given as guidance for designers and to help explain the |
5199 |
uses for which the elements were intended. |
5200 |
|
5201 |
8. References |
5202 |
|
5203 |
The HTML specification cites these works: |
5204 |
|
5205 |
HTTP |
5206 |
|
5207 |
HTTP: A Protocol for Networked Information. This |
5208 |
|
5209 |
Berners-Lee, Connolly, et. al. Page 93 |
5210 |
|
5211 |
HTML 2.0 November 28, 1994 |
5212 |
|
5213 |
|
5214 |
document is available at |
5215 |
http://info.cern.ch/hypertext/WWW/Protocols/HTTP/HTTP2.h |
5216 |
tml. |
5217 |
|
5218 |
MIME |
5219 |
|
5220 |
N. Borenstein, N. Freed, MIME (Multipurpose Internet |
5221 |
Mail Extensions) Part One: Mechanisms for Specifying and |
5222 |
Describing the Format of Internet Message Bodies, |
5223 |
09/23/1993. (Pages=81) (Format=.txt, .ps) (Obsoletes |
5224 |
RFC1341) (Updated by RFC1590). |
5225 |
|
5226 |
SGML |
5227 |
|
5228 |
ISO Standard 8879:1986 Information Processing Text and |
5229 |
Office Systems; Standard Generalized Markup Language |
5230 |
(SGML). |
5231 |
|
5232 |
SGMLS |
5233 |
|
5234 |
An SGML parser by James Clark, jjc@jclark.com, derived |
5235 |
from the ARCSGML parser materials which were written by |
5236 |
Charles F. Goldfarb. The source is available at |
5237 |
ftp.ifi.uio.no/pub/SGML/SGMLS. |
5238 |
|
5239 |
URI |
5240 |
|
5241 |
Universal Resource Identifiers. Available by anonymous |
5242 |
FTP as Postscript (info.cern.ch/pub/www/doc/url.ps) or |
5243 |
text (info.cern.ch/pub/www/doc/url.txt) |
5244 |
|
5245 |
WWW |
5246 |
|
5247 |
The World Wide Web , a global information initiative. |
5248 |
For bootstrap information, telnet info.cern.ch or find |
5249 |
documents by ftp://info.cern.ch/pub/www/doc. |
5250 |
|
5251 |
9. Acknowledgments |
5252 |
|
5253 |
The HTML document type was designed by Tim Berners-Lee |
5254 |
at CERN as part of the 1990 World Wide Web project. In |
5255 |
1992, Dan Connolly wrote the HTML Document Type |
5256 |
Definition (DTD) and a brief HTML specification. |
5257 |
|
5258 |
Since 1993, a wide variety of Internet participants have |
5259 |
contributed to the evolution of HTML, which has included |
5260 |
the addition of in-line images introduced by the NCSA |
5261 |
Mosaic software for WWW. Dave Raggett played an |
5262 |
important role in deriving the FORMS material from the |
5263 |
HTML+ specification. |
5264 |
|
5265 |
Berners-Lee, Connolly, et. al. Page 94 |
5266 |
|
5267 |
HTML 2.0 November 28, 1994 |
5268 |
|
5269 |
|
5270 |
|
5271 |
Dan Connolly and Karen Olson Muldrow rewrote the HTML |
5272 |
Specification in 1994. |
5273 |
|
5274 |
Special thanks to the many people who have contributed |
5275 |
to this specification: |
5276 |
|
5277 |
- Terry Allen; O'Reilly & Associates; terry@ora.com |
5278 |
|
5279 |
- Marc Andreessen; Netscape Communications Corp; |
5280 |
marca@mcom.com |
5281 |
|
5282 |
- Paul Burchard; The Geometry Center, University of |
5283 |
Minnesota; burchard@geom.umn.edu |
5284 |
|
5285 |
- James Clark; jjc@jclark.com |
5286 |
|
5287 |
- Daniel W. Connolly; HaL Computer Systems; connolly@hal.com |
5288 |
|
5289 |
- Roy Fielding; University of California, Irvine; |
5290 |
fielding@ics.uci.edu |
5291 |
|
5292 |
- Peter Flynn; University College Cork, Ireland; pflynn@www.ucc.ie |
5293 |
|
5294 |
- Jay Glicksman; Enterprise Integration Technology; jay@eit.com |
5295 |
|
5296 |
- Paul Grosso; ArborText, Inc.; paul@arbortext.com |
5297 |
|
5298 |
- Eduardo Gutentag; Sun Microsystems; eduardo@Eng.Sun.com |
5299 |
|
5300 |
- Bill Hefley; Software Engineering Institute, |
5301 |
Carnegie Mellon University; weh@sei.cmu.edu |
5302 |
|
5303 |
- Chung-Jen Ho; Xerox Corporation; cho@xsoft.xerox.com |
5304 |
|
5305 |
- Mike Knezovich; Spyglass, Inc.; mike@spyglass.com |
5306 |
|
5307 |
- Tim Berners-Lee; CERN; timbl@info.cern.ch |
5308 |
|
5309 |
- Tom Magliery; NCSA; mag@ncsa.uiuc.edu |
5310 |
|
5311 |
- Murray Maloney; Toronto Development Centre, The |
5312 |
Santa Cruz Operation (SCO); murray@sco.com |
5313 |
|
5314 |
- Larry Masinter; Xerox Palo Alto Research Center; |
5315 |
masinter@parc.xerox.com |
5316 |
|
5317 |
- Karen Olson Muldrow; HaL Computer Systems; karen@hal.com |
5318 |
|
5319 |
- Bill Perry, Spry, Inc., wmperry@spry.com |
5320 |
|
5321 |
Berners-Lee, Connolly, et. al. Page 95 |
5322 |
|
5323 |
HTML 2.0 November 28, 1994 |
5324 |
|
5325 |
|
5326 |
|
5327 |
- Dave Raggett, Hewlett Packard, dsr@hplb.hpl.hp.com |
5328 |
|
5329 |
- E. Corprew Reed; Cold Spring Harbor Laboratory; corp@cshl.org |
5330 |
|
5331 |
- Yuri Rubinsky; SoftQuad, Inc.; yuri@sq.com |
5332 |
|
5333 |
- Eric Schieler; Spyglass, Inc.; eschieler@spyglass.com |
5334 |
|
5335 |
- Eric W. Sink; Spyglass, Inc.; eric@spyglass.com |
5336 |
|
5337 |
- Stuart Weibel; OCLC Office of Research; weibel@oclc.org |
5338 |
|
5339 |
- Chris Wilson; Spry, Inc.; cwilson@spry.com |
5340 |
|
5341 |
10. Author's Addresses |
5342 |
|
5343 |
Tim Berners-Lee |
5344 |
timbl@quag.lcs.mit.edu |
5345 |
|
5346 |
|
5347 |
Daniel W. Connolly |
5348 |
Hal Software Systems |
5349 |
3006A Longhorn Blvd. |
5350 |
Austin, TX 78758 |
5351 |
|
5352 |
phone: (512) 834-9962 extension 5010 |
5353 |
fax: (512) 823-9963 |
5354 |
URL: http://www.hal.com/~connolly |
5355 |
email: connolly@hal.com |
5356 |
|
5357 |
|
5358 |
|
5359 |
|