1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436
|
<!-- Element Description File -->
<!-- Source File: html2.0.desc -->
<!-- Source DTD: html.dtd -->
<!-- Date: Thu Aug 24 14:51:46 CDT 1995 -->
<!-- #################################################################### -->
<!-- ## Home Page Description ## -->
<!-- #################################################################### -->
<?DTD2HTML #include htmlents.dsc >
<?DTD2HTML -home- >
<p>
This document allows you to navigate through the structure of the HTML
DTD designated by the RCS Id:
</p>
<pre>
$Id: html.dtd,v 1.30 1995/09/21 23:30:19 connolly Exp $
</pre>
<p>
Element and attribute descriptions are extracted from
<a href="http://www.ics.uci.edu/pub/ietf/html/rfc1866.txt">RFC 1866</a>.
</p>
<dl>
<dt>NOTE</dt>
<dd>
HTML 2.0 contains SGML Document Access (SDA) fixed attributes
in support of easy transformation to the International Committee
for Accessible Document Design (ICADD) DTD
"-//EC-USA-CDA/ICADD//DTD ICADD22//EN".
<p>
ICADD applications are designed to support usable access to
structured information by print-impaired individuals through
Braille, large print and voice synthesis. For more information on
SDA & ICADD:
</p>
<ul>
<li>ISO 12083:1993, Annex A.8, Facilities for Braille,
large print and computer voice
<li>ICADD ListServ
<ICADD%ASUACAD.BITNET@ARIZVM1.ccit.arizona.edu>
<li>Usenet news group bit.listserv.easi
<li>Recording for the Blind, +1 800 221 4792
</ul>
</dl>
<hr>
<p>
For the latest information about HTML, see
<URL:<a href="http://www.w3.org/hypertext/WWW/MarkUp/MarkUp.html">
http://www.w3.org/hypertext/WWW/MarkUp/MarkUp.html</a>>
</p>
<!-- #################################################################### -->
<!-- ## Shared Descriptions ## -->
<!-- #################################################################### -->
<?DTD2HTML *sdaform >
<p>
SDA/ICADD: One to one mapping.
</p>
<?DTD2HTML *sdarule >
<p>
SDA/ICADD: Context-sensitive mapping.
</p>
<?DTD2HTML *sdapref >
<p>
SDA/ICADD: Generated text prefix.
</p>
<?DTD2HTML *sdasuff >
<p>
SDA/ICADD: Generated text suffix.
</p>
<?DTD2HTML *sdasusp >
<p>
SDA/ICADD: Suspend transform process.
</p>
<?DTD2HTML h1,h2,h3,h4,h5,h6 >
<p>
The six heading elements,
<H1> through <H6>, denote section headings.
Although the order and occurrence of headings is not constrained by
the HTML DTD, documents should not skip levels (for example, from H1
to H3), as converting such documents to other representations is
often problematic.
</p>
<p>
Example of use:
</p>
<pre>
<H1>This is a heading</H1>
Here is some text
<H2>Second level heading</H2>
Here is some more text.
</pre>
<!-- #################################################################### -->
<!-- ## Short Descriptions ## -->
<!-- #################################################################### -->
<?DTD2HTML a+ >
Anchor; source and/or destination of a link
<?DTD2HTML address+ >
Address, signature, or byline for document or passage
<?DTD2HTML b+ >
Bold text
<?DTD2HTML base+ >
Base context document
<?DTD2HTML blockquote+ >
Quoted passage
<?DTD2HTML body+ >
Document body
<?DTD2HTML br+ >
Line break
<?DTD2HTML cite+ >
Name or title of cited work
<?DTD2HTML code+ >
Source code phrase
<?DTD2HTML dd+ >
Definition of term
<?DTD2HTML dfn+ >
<?DTD2HTML dir+ >
Directory list
<?DTD2HTML dl+ >
Definition list, or glossary
<?DTD2HTML dt+ >
Term in definition list
<?DTD2HTML em+ >
Emphasized phrase
<?DTD2HTML expires+ >
<?DTD2HTML form+ >
Fill-out or data-entry form
<?DTD2HTML h1+ >
Heading, level 1
<?DTD2HTML h2+ >
Heading, level 2
<?DTD2HTML h3+ >
Heading, level 3
<?DTD2HTML h4+ >
Heading, level 4
<?DTD2HTML h5+ >
Heading, level 5
<?DTD2HTML h6+ >
Heading, level 6
<?DTD2HTML head+ >
Document head
<?DTD2HTML hr+ >
Horizontal rule
<?DTD2HTML html+ >
HyperText Markup Language Document
<?DTD2HTML i+ >
Italic text
<?DTD2HTML img+ >
Image; icon, glyph or illustration
<?DTD2HTML input+ >
Form input datum
<?DTD2HTML isindex+ >
Document is a searchable index
<?DTD2HTML kbd+ >
Keyboard phrase, e.g. user input
<?DTD2HTML key+ >
<?DTD2HTML li+ >
List item
<?DTD2HTML link+ >
Link from this document
<?DTD2HTML listing+ >
Computer listing
<?DTD2HTML menu+ >
Menu list
<?DTD2HTML meta+ >
Generic meta-information
<?DTD2HTML nextid+ >
Next ID to use for link name
<?DTD2HTML ol+ >
Ordered, or numbered list
<?DTD2HTML option+ >
A selection option
<?DTD2HTML p+ >
Paragraph
<?DTD2HTML plaintext+ >
Plain text passage
<?DTD2HTML pre+ >
Preformatted text
<?DTD2HTML samp+ >
Sample text or characters
<?DTD2HTML select+ >
Selection of option(s)
<?DTD2HTML strike+ >
<?DTD2HTML strong+ >
Strong emphasis
<?DTD2HTML textarea+ >
An area for text input
<?DTD2HTML title+ >
Title of document
<?DTD2HTML tt+ >
Typewriter text
<?DTD2HTML u+ >
<?DTD2HTML ul+ >
Unordered list
<?DTD2HTML var+ >
Variable phrase or substitutable
<?DTD2HTML xmp+ >
Example section
<!-- #################################################################### -->
<!-- ## Descriptions ## -->
<!-- #################################################################### -->
<?DTD2HTML a >
<p>
The <A> element indicates a hyperlink anchor.
At least one of the NAME and HREF attributes should be present.
</p>
<?DTD2HTML a* >
<?DTD2HTML a*href >
<p>
Gives the URI of the head anchor of a hyperlink.
</p>
<?DTD2HTML a*methods >
<p>
Specifies methods to be used in accessing the
destination, as a whitespace-separated list of names.
The set of applicable names is a function of the scheme
of the URI in the HREF attribute. For similar reasons as
for the <a href="title.html">TITLE</a>
attribute, it may be useful to include the
information in advance in the link. For example, the
HTML user agent may chose a different rendering as a
function of the methods allowed; for example, something
that is searchable may get a different icon.
</p>
<?DTD2HTML a*name >
<p>
Gives the name of the anchor, and makes it available as
a head of a hyperlink.
</p>
<?DTD2HTML a*rel >
<p>
The REL attribute gives the relationship(s) described by
the hyperlink. The value is a whitespace separated list
of relationship names. The semantics of link
relationships are not specified in this document.
</p>
<?DTD2HTML a*rev >
<p>
Same as the REL attribute, but the semantics of the
relationship are in the reverse direction. A link from A
to B with REL="X" expresses the same relationship as a
link from B to A with REV="X". An anchor may have both
REL and REV attributes.
</p>
<?DTD2HTML a*sdapref >
<?DTD2HTML a*title >
<p>
Suggests a title for the destination resource --
advisory only. The TITLE attribute may be used:
</p>
<ul>
<li>for display prior to accessing the destination
resource, for example, as a margin note or on a
small box while the mouse is over the anchor, or
while the document is being loaded;</li>
<li>for resources that do not include a title, such as
graphics, plain text and Gopher menus, for use as a
window title.</li>
</ul>
<?DTD2HTML a*urn >
<p>
Specifies a preferred, more persistent identifier for
the head anchor of the hyperlink. The syntax and
semantics of the URN attribute are not yet specified.
</P>
<?DTD2HTML address >
<p>
The <ADDRESS> element contains such information as address, signature
and authorship, often at the beginning or end of the body of a
document.
</p>
<p>
Example of use:
</p>
<pre>
<ADDRESS>
Newsletter editor<BR>
J.R. Brown<BR>
JimquickPost News, Jimquick, CT 01234<BR>
Tel (123) 456 7890
</ADDRESS>
</pre>
<?DTD2HTML address* >
<?DTD2HTML address*sdaform >
<?DTD2HTML address*sdapref >
<?DTD2HTML b >
<p>
The <B> element indicates bold text. Where bold typography is
unavailable, an alternative representation may be used.
</p>
<?DTD2HTML b* >
<?DTD2HTML b*sdaform >
<?DTD2HTML base >
<p>
The optional <BASE> element provides a base address for interpreting
relative URLs when the document is read out of context
The value of the HREF attribute must be an absolute URI.
</p>
<?DTD2HTML base* >
<P>
<?DTD2HTML base*href >
The URL of the document.
<P>
<?DTD2HTML base*sdapref >
<P>
<?DTD2HTML blockquote >
<p>
The <BLOCKQUOTE> element contains text quoted from another source.
</p>
<p>
Example of use:
</p>
<pre>
I think the play ends
<BLOCKQUOTE>
<P>Soft you now, the fair Ophelia. Nymph, in thy orisons, be all
my sins remembered.
</BLOCKQUOTE>
but I am not sure.
</pre>
<?DTD2HTML blockquote* >
<?DTD2HTML blockquote*sdaform >
<?DTD2HTML body >
<P>
The <BODY> element contains the text flow of the document, including
headings, paragraphs, lists, etc.
</p>
<p>
For example:
</p>
<pre>
<BODY>
<h1>Important Stuff</h1>
<p>Explanation about important stuff...
</BODY>
</pre>
<?DTD2HTML body* >
<P>
<?DTD2HTML body*sdapref >
<P>
<?DTD2HTML br >
<p>
The <BR> element specifies a line break between words. For example:
</p>
<pre>
<P> Pease porridge hot<BR>
Pease porridge cold<BR>
Pease porridge in the pot<BR>
Nine days old.
</pre>
<?DTD2HTML br* >
<?DTD2HTML br*sdapref >
<?DTD2HTML cite >
<P>
The <CITE> element is used to indicate the title of a book or
other citation.
</p>
<?DTD2HTML cite* >
<?DTD2HTML cite*sdaform >
<?DTD2HTML code >
<p>
The <CODE> element indicates an example of code, typically
rendered in a mono-spaced font. The <CODE> element is intended for
short words or phrases of code; the
<a href="pre.html"><PRE></a> block structuring
element is more appropriate
for multiple-line listings. For example:
</p>
<pre>
<p>The expression <code>x += 1</code>
is short for <code>x = x + 1</code>.
</pre>
<?DTD2HTML code* >
<P>
<?DTD2HTML code*sdaform >
<P>
<?DTD2HTML dd >
<P>
Definition text of a term in a <A HREF="dl.html">definition list</a>.
</P>
<?DTD2HTML dd* >
<?DTD2HTML dd*sdaform >
<?DTD2HTML dfn >
<P>
The defining instance of a term.
</P>
<?DTD2HTML dir >
<p>
The <DIR> element is similar to the
<a href="ul.html"><UL></a> element. It represents a
list of short items, typically up to 20 characters each. Items in a
directory list may be arranged in columns, typically 24 characters
wide.
</p>
<p>
The content of a <DIR> element is a sequence of <LI> elements.
Nested block elements are not allowed in the content of <DIR>
elements. For example:
</p>
<pre>
<DIR>
<LI>A-H<LI>I-M
<LI>M-R<LI>S-Z
</DIR>
</pre>
<?DTD2HTML dir* >
<P>
<?DTD2HTML dir*compact >
Suggests that a compact rendering be used.
<P>
<?DTD2HTML dir*sdaform >
<P>
<?DTD2HTML dir*sdapref >
<P>
<?DTD2HTML dl >
<p>
A definition list is a list of terms and corresponding definitions.
</p>
<p>
The content of a <DL> element is a sequence of <DT>
elements and/or <DD> elements, usually in pairs. Multiple
<DT> may be paired with a single <DD> element. Documents
should not contain multiple consecutive <DD> elements.
</p>
<p>
Example of use:
</p>
<pre>
<DL>
<DT>Term<DD>This is the definition of the first term.
<DT>Term<DD>This is the definition of the second term.
</DL>
</pre>
<?DTD2HTML dl* >
<?DTD2HTML dl*compact >
<P>
The optional COMPACT attribute suggests that a compact rendering be
used, because the list items are small and/or the entire list is
large.
</P>
<?DTD2HTML dl*sdaform >
<?DTD2HTML dl*sdapref >
<?DTD2HTML dt >
<P>
Definition term in a <A HREF="dl.html">definition list</a>.
</P>
<?DTD2HTML dt* >
<?DTD2HTML dt*sdaform >
<?DTD2HTML em >
<p>
The <EM> element indicates an emphasized phrase.
</p>
<?DTD2HTML em* >
<?DTD2HTML em*sdaform >
<?DTD2HTML expires >
The date after which the document should be
considered invalid. Semantics as in the HTTP
specification.
<P>
<?DTD2HTML form >
<p>
A form is a template for a form data set and an associated
method and action URI. A form data set is a sequence of
name/value pair fields. The names are specified on the NAME
attributes of form input elements, and the values are given
initial values by various forms of markup and edited by the
user. The resulting form data set is used to access an
information service as a function of the action and method.
</p>
<p>
Forms elements can be mixed in with document structuring
elements. For example, a
<a href="pre.html"><PRE></a> element may contain a <FORM>
element, or a <FORM> element may contain lists which contain
<a href="input.html"><INPUT></a> elements.
This gives considerable flexibility in
designing the layout of forms.
</p>
<?DTD2HTML form* >
<P>
<?DTD2HTML form*action >
<P>
Specifies the action URI for the form. The action URI of
a form defaults to the base URI of the document.
</P>
<?DTD2HTML form*enctype >
<p>
Specifies the media type used to encode the name/value
pairs for transport, in case the protocol does not
itself impose a format.
</p>
<p>
The default encoding for all forms is 'application/x-www-form-urlencoded'.
A form data set is represented in this media type as follows:
<ol>
<li>
The form field names and values are escaped: space
characters are replaced by `+', and then reserved characters
are escaped as per URL; that is, non-alphanumeric
characters are replaced by `%HH', a percent sign and two
hexadecimal digits representing the ASCII code of the
character. Line breaks, as in multi-line text field values,
are represented as CR LF pairs, i.e. `%0D%0A'.</li>
<li>
The fields are listed in the order they appear in the
document with the name separated from the value by `=' and
the pairs separated from each other by `&'. Fields with null
values may be omitted. In particular, unselected radio
buttons and checkboxes should not appear in the encoded
data, but hidden fields with VALUE attributes present
should.
<dl>
<dt>NOTE</dt>
<dd>
The URI from a query form submission can be
used in a normal anchor style hyperlink.
Unfortunately, the use of the `&' character to
separate form fields interacts with its use in SGML
attribute values as an entity reference delimiter.
For example, the URI `http://host/?x=1&y=2' must be
written `<a href="http://host/?x=1&#38;y=2">' or `<a
href="http://host/?x=1&amp;y=2">'.
<p>
HTTP server implementors, and in particular, CGI
implementors are encouraged to support the use of
`;' in place of `&' to save users the trouble of
escaping `&' characters this way.
</p>
</dd>
</dl></li>
</ol>
</p>
<?DTD2HTML form*method >
<p>
Selects a method of accessing the action URI. The set of
applicable methods is a function of the scheme of the
action URI of the form.
</p>
<?DTD2HTML form*sdapref >
<?DTD2HTML form*sdasuff >
<?DTD2HTML h1 >
<?DTD2HTML h1* >
<?DTD2HTML h1*sdaform >
<?DTD2HTML h2 >
<?DTD2HTML h2* >
<?DTD2HTML h2*sdaform >
<?DTD2HTML h3 >
<?DTD2HTML h3* >
<?DTD2HTML h3*sdaform >
<?DTD2HTML h4 >
<?DTD2HTML h4* >
<?DTD2HTML h4*sdaform >
<?DTD2HTML h5 >
<?DTD2HTML h5* >
<?DTD2HTML h5*sdaform >
<?DTD2HTML h6 >
<?DTD2HTML h6* >
<?DTD2HTML h6*sdaform >
<?DTD2HTML head >
<p>
The head of an HTML document is an unordered collection of
information about the document. For example:
</p>
<pre>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HEAD>
<TITLE>Introduction to HTML</TITLE>
</HEAD>
...
</pre>
<?DTD2HTML head* >
<?DTD2HTML head*sdapref >
<?DTD2HTML hr >
<p>
The <HR> element is a divider between sections of text; typically a
full width horizontal rule or equivalent graphic. For example:
</p>
<pre>
<HR>
<ADDRESS>February 8, 1995, CERN<ADDRESS>
<BODY>
</pre>
<?DTD2HTML hr* >
<?DTD2HTML hr*sdapref >
<?DTD2HTML html >
<p>
The HTML document element consists of a
<a href="head.html">head</a> and a
<a href="body.html">body</a>,
much like a
memo or a mail message. The head contains the title and optional
elements. The body is a text flow consisting of paragraphs, lists,
and other elements.
</p>
<?DTD2HTML html* >
<?DTD2HTML html*sdaform >
<?DTD2HTML html*version >
<?DTD2HTML html*sdapref >
<?DTD2HTML i >
<P>
The <I> element indicates italic text. Where italic typography is
unavailable, an alternative representation may be used.
</P>
<?DTD2HTML i* >
<?DTD2HTML i*sdaform >
<?DTD2HTML img >
<p>
The <IMG> element refers to an image or icon via a hyperlink.
</p>
<p>
HTML user agents may process the value of the ALT attribute as an
alternative to processing the image resource indicated by the SRC
attribute.
</p>
<dl>
<dt>NOTE</dt>
<dd>Some HTML user agents can process graphics linked via
anchors, but not <IMG> graphics. If a graphic is essential, it
should be referenced from an
<a href="a.html"><A></a> element rather than an <IMG>
element. If the graphic is not essential, then the <IMG> element
is appropriate.</dd>
</dl>
<p>
Examples of use:
<pre>
<IMG SRC="triangle.xbm" ALT="Warning:"> Be sure
to read these instructions.
<a href="http://machine/htbin/imagemap/sample">
<IMG SRC="sample.xbm" ISMAP>
</a>
</pre>
<?DTD2HTML img* >
<?DTD2HTML img*align >
<P>
Alignment of the image with respect to the text
baseline.
</p>
<ul>
<li>`TOP' specifies that the top of the image aligns
with the tallest item on the line containing the
image.</li>
<li>`MIDDLE' specifies that the center of the image
aligns with the baseline of the line containing the
image.</li>
<li>`BOTTOM' specifies that the bottom of the image
aligns with the baseline of the line containing the
image.</li>
</ul>
<?DTD2HTML img*alt >
<p>
Text to use in place of the referenced image resource,
for example due to processing constraints or user
preference.
</p>
<?DTD2HTML img*ismap >
<P>
Indicates an image map.
If the ISMAP attribute is present on an <IMG> element, the <IMG>
element must be contained in an
<a href="a.html"><A></a> element with an HREF present.
This construct represents a set of hyperlinks. The user can choose
from the set by choosing a pixel of the image. The user agent
computes the head URI by appending `?' and the x and y coordinates of
the pixel to the URI given in the <A> element. For example, if a
document contains:
</p>
<pre>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<head><title>ImageMap Example</title>
<BASE HREF="http://host/index"></head>
<body>
<p> Choose any of these icons:<br>
<a href="/cgi-bin/imagemap"><img ismap src="icons.gif"></a>
</pre>
<p>
and the user chooses the upper-leftmost pixel, the chosen
hyperlink is the one with the URI `http://host/cgi-bin/imagemap?0,0'.
</P>
<?DTD2HTML img*sdapref >
<?DTD2HTML img*src >
<p>
Specifies the URI of the image resource.
</p>
<?DTD2HTML input >
<p>
The <INPUT> element represents a field for user input. The TYPE
attribute discriminates between several variations of fields.
</p>
<?DTD2HTML input* >
<?DTD2HTML input*align >
<p>
Valid for `TYPE=IMAGE'. Behaves the same as the
<a href="img.attr.html#align">ALIGN</a> attribute for the
<a href="img.html"><IMG></a> element.
</p>
<?DTD2HTML input*checked >
<P>
Indicates that the initial state is on for CHECKBOX or RADIO input
types.
</p>
<?DTD2HTML input*maxlength >
<p>
Constrains the number of characters that can be entered
into a text input field. If the value of MAXLENGTH is
greater the the value of the SIZE attribute, the field
should scroll appropriately. The default number of
characters is unlimited.
</p>
<?DTD2HTML input*name >
<p>
Name for the form field corresponding to this element.
</p>
<?DTD2HTML input*sdapref >
<?DTD2HTML input*size >
<p>
Specifies the amount of display space allocated to this
input field according to its type. The default depends
on the user agent.
</p>
<?DTD2HTML input*src >
<p>
Valid for `TYPE=IMAGE'. Attribute the same as the
<a href="img.attr.html#src">SRC</a> attribute for the
<a href="img.html"><IMG></a> element.
</p>
<?DTD2HTML input*type >
Defines the type of data the field accepts. Defaults to free text. Several
types of fields can be defined with the type attribute:
<dl>
<dt>CHECKBOX
<dd>
Represents a boolean choice.
A set of such elements with the same name represents an n-of-many
choice field.
<p>Example:
</p>
<pre>
<p>What flavors do you like?
<input type=checkbox name=flavor value=vanilla>Vanilla<br>
<input type=checkbox name=flavor value=strawberry>Strawberry<br>
<input type=checkbox name=flavor value=chocolate checked>Chocolate<br>
</pre>
<dt>HIDDEN
<dd>
Represents a hidden field. The
user does not interact with this field; instead, the VALUE attribute
specifies the value of the field. The NAME and VALUE attributes are
required.
<p>
Example:
</p>
<pre>
<input type=hidden name=context value="l2k3j4l2k3j4l2k3j4lk23">
</pre>
<dt>IMAGE
<dd>
Specifies an image resource to
display, and allows input of two form fields: the x and y coordinate
of a pixel chosen from the image. The names of the fields are the
name of the field with `.x' and `.y' appended. `TYPE=IMAGE' implies
`TYPE=SUBMIT' processing; that is, when a pixel is chosen, the form
as a whole is submitted.
<p>Example</p>
<pre>
<p>Choose a point on the map:
<input type=image name=point src="map.gif">
</pre>
<dt>PASSWORD
<dd>
A text field where the value is obscured as it is entered.
<p>Example:</p>
<pre>
<p>Name: <input name=login> Password: <input type=password name=passwd>
</pre>
<dt>RADIO
<dd>
Represents a boolean choice. A
set of such elements with the same name represents a 1-of-many choice
field.
<p>Example:</p>
<pre>
<p>Which is your favorite?
<input type=radio name=flavor value=vanilla>Vanilla<br>
<input type=radio name=flavor value=strawberry>Strawberry<br>
<input type=radio name=flavor value=chocolate>Chocolate<br>
</pre>
<dt>RESET
<dd>
Represents an input option,
typically a button, that instructs the user agent to reset the form's
fields to their initial states. The VALUE attribute, if present,
indicates a label for the input (button).
<dt>SUBMIT
<dd>
Represents an input option,
typically a button, that instructs the user agent to submit the form.
<dt>TEXT
<dd>
Indicates a single line text entry field.
<p>Example:</p>
<pre>
<p>Street Address: <input name=street><br>
Postal City code: <input name=city size=16 maxlength=16><br>
Zip Code: <input name=zip size=10 maxlength=10 value="99999-9999"><br>
</pre>
</dl>
<?DTD2HTML input*value >
<P>
The initial value of the field, or the value
when checked for checkboxes and radio
buttons.
</P>
<?DTD2HTML input*disabled >
<P>
When present indicates that this field is
temporarily disabled. Browsers should show
this by "greying it" out in some manner.
</P>
<?DTD2HTML input*error >
<P>
When present indicates that the field's
initial value is in error in some way, e.g.
because it is inconsistent with the values of
other fields. Servers should include an
explanatory error message with the form's
text.
</P>
<?DTD2HTML isindex >
<p>
The <ISINDEX> element indicates that the user agent should allow the
user to search an index by giving keywords.
</p>
<?DTD2HTML isindex* >
<?DTD2HTML isindex*sdapref >
<?DTD2HTML kbd >
<p>
The <KBD> element indicates text typed by a user, typically
rendered in a mono-spaced font. This is commonly used in
instruction manuals. For example:
</p>
<p>
Enter <kbd>FIND IT</kbd> to search the database.
</p>
<?DTD2HTML kbd* >
<?DTD2HTML kbd*sdaform >
<?DTD2HTML key >
<?DTD2HTML li >
<P>
A list item.
</P>
<?DTD2HTML li* >
<?DTD2HTML li*sdaform >
<?DTD2HTML link >
<p>
The <LINK> element represents a hyperlink. Any
number of LINK elements may occur in the
<a href="head.html"><HEAD></a>
element of an HTML document. It has the same attributes as the
<a href="a.html"><A></a>
element.
</p>
<p>
The <LINK> element is typically used to indicate authorship, related
indexes and glossaries, older or more recent versions, document
hierarchy, associated resources such as style sheets, etc.
</p>
<?DTD2HTML link* >
<P>
See <a href="a.attr.html">anchors attributes</a> for a description
</P>of link's attributes.
<?DTD2HTML link*href >
<?DTD2HTML link*methods >
<?DTD2HTML link*rel >
<?DTD2HTML link*rev >
<?DTD2HTML link*sdapref >
<?DTD2HTML link*title >
<?DTD2HTML link*urn >
<?DTD2HTML link*name >
<?DTD2HTML listing >
<p>
See <a href="xmp.html"><XMP></a>.
</P>
<?DTD2HTML listing* >
<?DTD2HTML listing*sdaform >
<?DTD2HTML listing*sdapref >
<?DTD2HTML menu >
<p>
The <MENU> element is a list of items with typically one line per
item. The menu list style is typically more compact than the style of
an <a href="ul.html">unordered list</a>.
</p>
<p>
The content of a <MENU> element is a sequence of <LI> elements.
Nested block elements are not allowed in the content of <MENU>
elements. For example:
</p>
<pre>
<MENU>
<LI>First item in the list.
<LI>Second item in the list.
<LI>Third item in the list.
</MENU>
</pre>
<?DTD2HTML menu* >
<?DTD2HTML menu*compact >
<P>
Suggests that a compact rendering be used.
</P>
<?DTD2HTML menu*sdaform >
<?DTD2HTML menu*sdapref >
<?DTD2HTML meta >
<p>
The <META> element is an extensible container for use in identifying
specialized document meta-information. Meta-information has two main
functions:
</p>
<ul>
<li>to provide a means to discover that the data set exists
and how it might be obtained or accessed; and</li>
<li>to document the content, quality, and features of a data
set, indicating its fitness for use.</li>
</ul>
<p>
Each <META> element specifies a name/value pair. If multiple META
elements are provided with the same name, their combined contents--
concatenated as a comma-separated list--is the value associated with
that name.
</p>
<dl>
<dt>NOTE</dt>
<dd>The <META> element should not be used where a
specific element, such as
<a href="title.html"><TITLE></a>, would be more
appropriate. Rather than a <META> element with a URI as
the value of the CONTENT attribute, use a
<a href="link.html"><LINK></a>
element.
</dd>
</dl>
<p>
HTTP servers may read the content of the document
<a href="head.html"><HEAD></a> to generate
header fields corresponding to any elements defining a value for the
attribute HTTP-EQUIV.
</p>
<dl>
<dt>NOTE</dt>
<dd>
The method by which the server extracts document
meta-information is unspecified and not mandatory. The
<META> element only provides an extensible mechanism for
identifying and embedding document meta-information --
how it may be used is up to the individual server
implementation and the HTML user agent.
</dd>
</dl>
<p><strong>Examples</strong></p>
<p>
If the document contains:
</p>
<pre>
<META HTTP-EQUIV="Expires"
CONTENT="Tue, 04 Dec 1993 21:29:02 GMT">
<meta http-equiv="Keywords" CONTENT="Fred">
<META HTTP-EQUIV="Reply-to"
content="fielding@ics.uci.edu (Roy Fielding)">
<Meta Http-equiv="Keywords" CONTENT="Barney">
</pre>
<p>
then the server may include the following header fields:
</p>
<pre>
Expires: Tue, 04 Dec 1993 21:29:02 GMT
Keywords: Fred, Barney
Reply-to: fielding@ics.uci.edu (Roy Fielding)
</pre>
<p>
as part of the HTTP response to a `GET' or `HEAD' request for
that document.
</p>
<p>
An HTTP server must not use the <META> element to form an HTTP
response header unless the HTTP-EQUIV attribute is present.
</p>
<p>
An HTTP server may disregard any <META> elements that specify
information controlled by the HTTP server, for example `Server',
`Date', and `Last-modified'.
</p>
<?DTD2HTML meta* >
<?DTD2HTML meta*content >
<P>
Specifies the name of the name/value pair. If not
present, HTTP-EQUIV gives the name.
</p>
<?DTD2HTML meta*http-equiv >
<P>
Binds the element to an HTTP header field. An HTTP
server may use this information to process the document.
In particular, it may include a header field in the
responses to requests for this document: the header name
is taken from the HTTP-EQUIV attribute value, and the
header value is taken from the value of the CONTENT
attribute. HTTP header names are not case sensitive.
</p>
<?DTD2HTML meta*name >
<P>
Specifies the name of the name/value pair. If not
present, HTTP-EQUIV gives the name.
</p>
<?DTD2HTML meta*sdapref >
<?DTD2HTML nextid >
<p>
The <NEXTID> element is included for historical reasons only. HTML
documents should not contain <NEXTID> elements.
</p>
<p>
The <NEXTID> element gives a hint for the name to use for a new
<a href="a.html"><A></a>
element when editing an HTML document. It should be distinct from all
NAME attribute values on <A> elements. For example:
</p>
<pre>
<NEXTID N=Z27>
</pre>
<?DTD2HTML nextid* >
<?DTD2HTML nextid*n >
<?DTD2HTML nextid*sdapref >
<?DTD2HTML ol >
<P>
The <OL> element represents an ordered list of items, sorted by
sequence or order of importance. It is typically rendered as a
numbered list.
</p>
<p>
The content of a <OL> element is a sequence of <LI> elements. For
example:
</p>
<pre>
<OL>
<LI>Click the Web button to open URI window.
<LI>Enter the URI number in the text field of the Open URI
window. The Web document you specified is displayed.
<ol>
<li>substep 1
<li>substep 2
</ol>
<LI>Click highlighted text to move from one link to another.
</OL>
</pre>
<?DTD2HTML ol* >
<?DTD2HTML ol*compact >
<P>
Suggests that a compact rendering be used.
</p>
<?DTD2HTML ol*sdaform >
<?DTD2HTML ol*sdapref >
<?DTD2HTML option >
<p>
The Option element can only occur within a
<a href="select.html">Select</a> element. It
represents one choice.
</P>
<?DTD2HTML option* >
<?DTD2HTML option*sdaform >
<?DTD2HTML option*sdapref >
<?DTD2HTML option*selected >
<P>
Indicates that this option is initially selected.
</P>
<?DTD2HTML option*value >
<P>
Indicates the value to be returned if this option is
chosen. The field value defaults to the content of the
<OPTION> element.
</P>
<?DTD2HTML option*disabled >
<P>
When present indicates that this option is
temporarily disabled.
</P>
<?DTD2HTML p >
<p>
The <P> element indicates a paragraph.
</p>
<p>
Example of use:
</p>
<pre>
<H1>This Heading Precedes the Paragraph</H1>
<P>This is the text of the first paragraph.
<P>This is the text of the second paragraph. Although you do not
need to start paragraphs on new lines, maintaining this
convention facilitates document maintenance.</P>
<P>This is the text of a third paragraph.</P>
</pre>
<?DTD2HTML p* >
<?DTD2HTML p*sdaform >
<?DTD2HTML plaintext >
<P>
<PLAINTEXT> is deprecated, and its use is strongly discouraged.
All characters after the <PLAINTEXT> start-tag are data. Recognition
of any HTML markup is disabled.
</P>
<?DTD2HTML plaintext* >
<?DTD2HTML plaintext*sdaform >
<?DTD2HTML pre >
<P>
The <PRE> element represents a character cell block of text and is
suitable for text that has been formatted for a monospaced font.
</p>
<p>
The <PRE> tag may be used with the optional WIDTH attribute. The
WIDTH attribute specifies the maximum number of characters for a line
and allows the HTML user agent to select a suitable font and
indentation.
</p>
<p>
Within preformatted text:
</p>
<ul>
<li>Line breaks within the text are rendered as a move to the
beginning of the next line.
<dl>
<dt>NOTE</dt>
<dd>References to the "beginning of a new line"
do not imply that the renderer is forbidden from
using a constant left indent for rendering
preformatted text. The left indent may be
constrained by the width required.</dd>
</dl>
</li>
<li>Anchor elements and phrase markup may be used.
<dl>
<dt>NOTE</dt>
<dd>Constraints on the processing of <PRE>
content may limit or prevent the ability of the HTML
user agent to faithfully render phrase markup.</dd>
</dl>
</li>
<li>Elements that define paragraph formatting (headings,
address, etc.) must not be used.
<dl>
<dt>NOTE</dt>
<dd>Some historical documents contain <P> tags in
<PRE> elements. User agents are encouraged to treat
this as a line break. A <P> tag followed by a
newline character should produce only one line
break, not a line break plus a blank line.</dd>
</dl>
</li>
<li>The horizontal tab character (code position 9 in the HTML
document character set) must be interpreted as the smallest
positive nonzero number of spaces which will leave the
number of characters so far on the line as a multiple of 8.
Documents should not contain tab characters, as they are not
supported consistently.
</li>
</ul>
<p>
Example of use:
</p>
<pre>
<PRE>
Line 1.
Line 2 is to the right of line 1. <a href="abc">abc</a>
Line 3 aligns with line 2. <a href="def">def</a>
</PRE>
</pre>
<?DTD2HTML pre* >
<?DTD2HTML pre*sdaform >
<?DTD2HTML pre*width >
<P>
This attribute gives the maximum number of characters
which will occur on a line. It allows the presentation system
to select a suitable font and indentation. Where the WIDTH
attribute is not recognized, it is recommended that a width of
80 be assumed. Where WIDTH is supported, it is
recommended that at least widths of 40, 80 and 132
characters be presented optimally, with other widths being
rounded up.
</P>
<?DTD2HTML pre*sdapref >
<?DTD2HTML samp >
<p>
The <SAMP> element indicates a sequence of literal characters,
typically rendered in a mono-spaced font. For example:
</p>
<p>
The only word containing the letters <samp>mt</samp> is dreamt.
</p>
<?DTD2HTML samp* >
<?DTD2HTML samp*sdaform >
<?DTD2HTML select >
<p>
The <SELECT> element constrains the form field to an enumerated list
of values. The values are given in <OPTION> elements.
</p>
<p>Example:</p>
<pre>
<SELECT NAME="flavor">
<OPTION>Vanilla
<OPTION>Strawberry
<OPTION value="RumRasin">Rum and Raisin
<OPTION selected>Peach and Orange
</SELECT>
</pre>
<p>
The initial state has the first option selected, unless a SELECTED
attribute is present on any of the <OPTION> elements.
</p>
<?DTD2HTML select* >
<?DTD2HTML select*multiple >
<P>
Indicates that more than one option may be included in the value.
</p>
<?DTD2HTML select*name >
<P>
Specifies the name of the form field.
</p>
<?DTD2HTML select*sdaform >
<?DTD2HTML select*sdapref >
<?DTD2HTML select*size >
<P>
Specifies the number of visible items. Select fields of
size one are typically pop-down menus, whereas select
fields with size greater than one are typically lists.
</p>
<?DTD2HTML select*error >
<P>
The ERROR attribute can be used to indicate
that the initial selection is in error in
some way, e.g. because it is inconsistent
with the values of other fields.
</P>
<?DTD2HTML strike >
<P>
The STRIKE element indicates "strike out" text, as in a legal document.
This tag is not widely supported.
</P>
<?DTD2HTML strong >
<P>
The <STRONG> element indicates strong emphasis, typically rendered
in bold. For example:
</p>
<pre>
<strong>STOP</strong>, or I'll say "<strong>STOP</strong>" again!
</pre>
<?DTD2HTML strong* >
<?DTD2HTML strong*sdaform >
<?DTD2HTML textarea >
<p>
The <TEXTAREA> element represents a multi-line text field in a
<a href="form.html">Form</a>.
</p>
<p>Example:</p>
<pre>
<TEXTAREA NAME="address" ROWS=6 COLS=64>
HaL Computer Systems
1315 Dell Avenue
Campbell, California 95008
</TEXTAREA>
</pre>
<p>
The content of the <TEXTAREA> element is the field's initial value.
</p>
<?DTD2HTML textarea* >
<?DTD2HTML textarea*cols >
<P>
The number of visible columns to display for the text area, in characters.
</P>
<?DTD2HTML textarea*name >
<P>
Specifies the name of the form field.
</P>
<?DTD2HTML textarea*rows >
<P>
The number of visible rows to display for the text area, in characters.
</P>
<?DTD2HTML textarea*sdaform >
<?DTD2HTML textarea*sdapref >
<?DTD2HTML title >
<P>
Every HTML document must contain a <TITLE> element.
</p>
<p>
The title should identify the contents of the document in a global
context. A short title, such as "Introduction" may be meaningless out
of context. A title such as "Introduction to HTML Elements" is more
appropriate.
</p>
<dl>
<dt>NOTE</dt>
<dd>
The length of a title is not limited; however, long titles
may be truncated in some applications. To minimize this
possibility, titles should be fewer than 64 characters.
<p>
A user agent may display the title of a document in a history list or
as a label for the window displaying the document. This differs from
headings, which are typically displayed within the body text flow.
</p>
<?DTD2HTML title* >
<?DTD2HTML title*sdaform >
<?DTD2HTML tt >
<p>
The <TT> element indicates teletype (monospaced) text. Where a
teletype font is unavailable, an alternative representation may be
used.
</p>
<?DTD2HTML tt* >
<?DTD2HTML tt*sdaform >
<?DTD2HTML ul >
<P>
The <UL> represents a list of items -- typically rendered as a
bulleted list.
</p>
<p>
The content of a <UL> element is a sequence of <LI> elements. For
example:
</p>
<pre>
<UL>
<LI>First list item
<LI>Second list item
<p>second paragraph of second item
<LI>Third list item
</UL>
</pre>
<?DTD2HTML ul* >
<?DTD2HTML ul*compact >
<P>
Suggests that a compact rendering be used.
</p>
<?DTD2HTML ul*sdaform >
<?DTD2HTML ul*sdapref >
<?DTD2HTML var >
<p>
The <VAR> element indicates a placeholder variable, typically
rendered as italic. For example:
</p>
<pre>
Type <SAMP>html-check <VAR>file</VAR> | more</SAMP>
to check <VAR>file</VAR> for markup errors.
</pre>
<?DTD2HTML var* >
<?DTD2HTML var*sdaform >
<?DTD2HTML xmp >
<p>
The <XMP> and <LISTING> elements are similar to the
<a href="pre.html"><PRE></a> element,
but they have a different syntax. Their content is declared as CDATA,
which means that no markup except the end-tag open delimiter-in-context
is recognized.
</p>
<dl>
<dt>NOTE</dt>
<dd>In a previous draft of the HTML specification, the syntax
of <XMP> and <LISTING> elements allowed closing tags to be treated
as data characters, as long as the tag name was not <XMP> or
<LISTING>, respectively.</dd>
</dl>
<p>
Since CDATA declared content has a number of unfortunate interactions
with processing techniques and tends to be used and implemented
inconsistently, HTML documents should not contain <XMP>
nor <LISTING>
elements -- the
<a href="pre.html"><PRE></a>
tag is more expressive and more consistently
supported.
</p>
<p>
The <LISTING> element should be rendered so that at least 132
characters fit on a line. The <XMP> element should be rendered so
that at least 80 characters fit on a line but is otherwise identical
to the <LISTING> element.
</p>
<dl>
<dt>NOTE</dt>
<dd>In a previous draft, HTML included a <PLAINTEXT> element
that is similar to the <LISTING> element, except that there is no
closing tag: all characters after the <PLAINTEXT> start-tag are
data.</dd>
</dl>
<?DTD2HTML xmp* >
<?DTD2HTML xmp*sdaform >
<?DTD2HTML xmp*sdapref >
|