view Side-By-Side changes
HTML Working Group T. Berners-Lee INTERNET-DRAFT MIT/W3C<draft-ietf-html-spec-03.txt><draft-ietf-html-spec-04.txt> D. Connolly Expires: In six monthsMay 31,June 16, 1995 Hypertext Markup Language - 2.0CONTENTS 1. Introduction 2. HTML as an Application of SGML 3. HTML as an Internet Media Type 4. Document Structure 5. Character, Words, and Paragraphs 6. Hyperlinks 7. Forms 8. HTML Public Text 9. Glossary 10. Bibliography 11. Appendices 12. AcknowledgmentsStatus of this Memo This document is an Internet-Draft. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as ``work in progress.'' To learn the current status of any Internet-Draft, please check the 1id-abstracts.txt listing contained in the Internet-Drafts Shadow Directories on ftp.is.co.za (Africa), nic.nordu.net (Europe), munnari.oz.au (Pacific Rim), ds.internic.net (US East Coast), or ftp.isi.edu (US West Coast). Distribution of this document is unlimited. Please send comments to the HTML working group (HTML-WG) of the Internet Engineering Task Force (IETF) at <html-wg@oclc.org>. Discussions of the group are archived at <URL:http://www.acl.lanl.gov/HTML_WG/archives.html>.In this draft, the first three sections are considered essentially finished. Sections 4 and 5 have been significantly revised and are open to comments, though I'm fairly happy with those parts. Section 6 is somewhat new: it collects all information about hyperlinking into one place. Sections 7 (forms elements) has also been revised, and there are a few points I'm not sure on. The glossary (section 8) has also been tweaked. Section 8 ``public text'' has been stable for some time, but as it's critical, I'd appreciate a careful review just the same.ABSTRACT The Hypertext Markup Language (HTML) is a simple markup language used to create hypertext documents that are platform independent. HTML documents are SGML documents with generic semantics that are appropriate for representing information from a wide range of domains. HTML markup can represent hypertext news, mail, documentation, and hypermedia; menus of options; database query results; simple structured documents with in-lined graphics; and hypertext views of existing bodies of information. HTML has been in use by the World Wide Web (WWW) global information initiative since 1990. This specification roughly corresponds to the capabilities of HTML in common use prior to June 1994. HTML is an application of ISO Standard 8879:1986 Information Processing Text and Office Systems; Standard Generalized Markup Language (SGML). The`"text/html; version=2.0"'`text/html' Internet Media Type (RFC 1590) and MIME Content Type (RFC 1521) is defined by this specification.1. Introduction The HyperTextBerners-Lee, Connolly [Page 1] INTERNET-DRAFT Hypertext Markup Language(HTML) is a simple data format used to create hypertext documents that are portable from one platform to another. HTML documents are SGML documents with generic semantics that are appropriate for representing information from a wide range of domains. 1.1.- 2.0 June 16, 1995 CONTENTS 1 Introduction .......................................... 3 1.1 Scope ................................................. 3 1.2 Conformance ........................................... 3 2 Terms ................................................. 5 3 HTMLhas been in use by the World-Wide Web (WWW) global information initiative since 1990. This specification corresponds to the capabilities of HTML in common use prior to June 1994 and referred toas``HTML 2.0''. HTML isanapplicationApplication ofISO Standard 8879:1986 _Information ProcessingSGML ........................ 9 3.1 SGML Documents ........................................ 9 3.2 HTML Lexical Syntax .................................. 11 3.3 HTML Public Textand Office Systems; Standard Generalized Markup Language_ (SGML). TheIdentifiers ......................... 15 3.4 Example HTML DocumentType Definition (DTD) is a formal definition of the HTML syntax in terms of SGML. This specification also defines................................ 16 4 HTML as an Internet MediaType[IMEDIA] and MIME Content Type[MIME] called `text/html', or `text/html; version=2.0'. As such, it defines the semantics of theType ....................... 16 4.1 text/html media type ................................. 16 4.2 HTMLsyntax and how that syntax should be interpreted by user agents. 1.2. Conformance This specification governs the syntax ofDocument Representation ......................... 17 5 Document Structure ................................... 18 5.1 Document Element: HTMLdocuments............................... 19 5.2 Head: HEAD ........................................... 19 5.3 Body: BODY ........................................... 22 5.4 Headings: H1 ... H6 .................................. 22 5.5 Block Structuring Elements ........................... 23 5.6 List Elements ........................................ 25 5.7 Phrase Markup ........................................ 28 5.8 Line Break: BR ....................................... 31 5.9 Horizontal Rule: HR .................................. 31 5.10 Image: IMG ........................................... 31 6 Characters, Words, andthe behaviourParagraphs .................... 33 6.1 The HTML Document Character Set ...................... 33 7 Hyperlinks ........................................... 34 7.1 Accessing Resources .................................. 34 7.2 Activation of Hyperlinks ............................. 34 7.3 Simultaneous Presentation of Image Resources ......... 35 7.4 Fragment Identifiers ................................. 35 7.5 Queries and Indexes .................................. 35 7.6 Image Maps ........................................... 36 8 Forms ................................................ 36 8.1 Form Elements ........................................ 37 8.2 Form Submission ...................................... 42 9 HTMLuser agents. 1.2.1. Documents A document is a conformingPublic Text ..................................... 45 9.1 HTMLdocument only if: * It is a conforming SGML document, and it conforms to theDTD ............................................. 45 9.2 Strict HTML DTD(see 8.1, "HTML DTD"). NOTE...................................... 56 9.3 Level 1 HTML DTD ..................................... 57 9.4 Strict Level 1 HTML DTD .............................. 58 9.5 SGML Declaration for HTML ............................ 58 9.6 Sample SGML Open Entity Catalog for HTML ............. 60 9.7 Character Entity Sets ................................ 61 10 Security Considerations .............................. 63 11 References ........................................... 64 12 Acknowledgments ...................................... 65 12.1 Authors' Addresses ................................... 66 13 The HTML Coded Character Set ......................... 66 14 Proposed Entities .................................... 69 Berners-Lee, Connolly [Page 2] INTERNET-DRAFT Hypertext Markup Language -There are2.0 June 16, 1995 1. Introduction The HyperText Markup Language (HTML) is anumber of syntactic idiomssimple data format used to create hypertext documents that arenot supported or are supported inconsistently in some historical user agent implementations. These idioms are called out in notes like this throughout this specification.portable from one platform to another. HTML documentsshould not contain these idioms, at least until such time as supportare SGML documents with generic semantics that are appropriate forthemrepresenting information from a wide range of domains. As HTML iswidely deployed.an application of SGML, this specification assumes a working knowledge of [SGML]. 1.1. Scope HTML has been in use by the World-Wide Web (WWW) global information initiative since 1990. This specification corresponds to the capabilities of HTML in common use prior to June 1994 and referred to as ``HTML 2.0''. HTML is an application of ISO Standard 8879:1986 _Information Processing Text and Office Systems; Standard Generalized Markup Language_ (SGML). The HTML Document Type Definition (DTD) is a formal definition of the HTML syntax in terms of SGML. This specification also defines HTML as an Internet Media Type[IMEDIA] and MIME Content Type[MIME] called `text/html'. As such, it defines the semantics of the HTML syntax and how that syntax should be interpreted by user agents. 1.2. Conformance This specification governs the syntax of HTML documents and aspects of the behavior of HTML user agents. 1.2.1. Documents A document is a conforming HTML document if: * It is a conforming SGML document, and it conforms to the HTML DTD (see 9.1, "HTML DTD"). NOTE - There are a number of syntactic idioms that are not supported or are supported inconsistently in some historical user agent implementations. These idioms are identified in notes like this throughout this specification. * It conforms to the application conventions in this specification. For example, the value of the HREF attribute of the <A> element must conform to the URI syntax. * Its document character set includesANSI/ISO 8859-1[ISO-8859-1] and Berners-Lee, Connolly [Page 3] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 agrees withISO/IEC 10646-1;[ISO-10646]; that is, each code position listed in11.1,13, "TheANSI/ISO 8859-1HTML Coded Character Set" is included, and each code position in the document character set is mapped to the same character asISO10646[ISO-10646] designates for that code position. NOTE - The document character set is somewhat independent of the character encoding scheme used to represent a document. For example, theISO-2022-JP`ISO-2022-JP' character encoding scheme can be used for HTML documents, since its repertoire is a subset of theISO10646[ISO-10646] repertoire. The critical distinction is that numeric character references agree withISO10646[ISO-10646] regardless of how the document is encoded. 1.2.2. Feature Test Entities The HTML DTD defines a standard HTML document type and several variations,based onby way of feature testentities: HTML.Recommended Certain features of the language are necessary forentities. Feature test entities are declarations in the HTML DTD that control the inclusion or exclusion of portions of the DTD. HTML.Recommended Certain features of the language are necessary for compatibility with widespread usage, but they may compromise the structural integrity of a document. This feature test entityenablesselects a more prescriptive document type definition that eliminates those features. It is set to `IGNORE' by default. For example, in order to preserve the structure of a document, an editing user agent may translate HTML documents to the recommended subset, or it may require that the documents be in the recommended subset for import. HTML.Deprecated Certain features of the language are necessary for compatibility with earlier versions of the specification, but they tend to be used and implemented inconsistently, and their use is deprecated. This feature test entity enables a document type definition thateliminatesallows these features. It is set to `INCLUDE' by default. Documents generated bytranlationtranslation software or editing software should not containthesedeprecated idioms.1.2.2.1.2.3. User Agents An HTML user agent conforms to this specification if: Berners-Lee, Connolly [Page 4] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 * It parses the characters of an HTML document into data characters and markup according to [SGML]. NOTE - In the interest of robustness and extensibility, there are a number of widely deployed conventions for handling non-conforming documents. See3.2.1,4.2.1, "Undeclared Markup Error Handling" for details. * It supports the `ISO-8859-1' character encoding scheme and processes each character in the ISO Latin Alphabet No. 1 as specified in5.1,6.1, "TheISO Latin 1HTML Document CharacterRepertoire".Set". NOTE - To support non-western writing systems, HTML user agentsshouldare encouraged to supportISO-10646-UCS-2`ISO-10646-UCS-2' or similar character encoding schemes and as much of the character repertoire ofISO10646[ISO-10646] as is practical. * It behaves identically for documents whose parsed token sequences are identical. For example, comments and the whitespace in tags disappear during tokenization, and hence they do not influence thebehaviourbehavior of conforming user agents. * It allows the user to traverse (or at least attempt to traverse, resources permitting) all hyperlinks from <A> elements in an HTML document. An HTML user agent is a level 2 user agent if, additionally: * It allows the user to express all form field values specified in an HTML document and to (attempt to) submit the values as requests to information services. 2.HTMLTerms absolute URI a URI in absolute form, as per [URL] anchor one of two ends of a hyperlink; typically, a phrase marked as anApplication<A> element. base URI URI used as the base ofSGML HTML isanapplicationHTML document for the purpose ofISO 8879:1986 -- Standard Generalizedresolving hyperlink destinations. character An atom of information, for example a letter or a digit. Graphic characters have associated glyphs, where as Berners-Lee, Connolly [Page 5] INTERNET-DRAFT Hypertext Markup Language(SGML). SGML- 2.0 June 16, 1995 control characters have associated processing semantics. character encoding scheme A function whose domain isa system for defining structured document types and markup languages to represent instancesthe set ofthose document types[SGML]. The public text -- DTD and SGML declaration --sequences ofthe HTML document type definition are provided in 8, "HTML Public Text". The term _HTML_ refers to both the document type defined hereoctets, and whose range is themarkup language for representing instancesset ofthis document type. 2.1. SGML Documents An HTML document is an SGML document;sequences of characters from a character repertoire; that is, a sequence ofcharacters organized physically intooctets and aset of entities, and logically ascharacter encoding scheme determines ahierarchysequence ofelements. The first productioncharacters. character repertoire A finite set of characters; e.g. theSGML grammar separates an SGML document into three parts: an SGML declaration,range of aprologue,coded character set. code position An integer. A coded character set andan instance. For the purposes of this specification, the prologuea code position from its domain determine a character. coded character set A function whose domain is aDTD. This DTD describes another grammar:subset of thestart symbolintegers and whose range isgiven in the doctype declaration,a character repertoire. That is, for some set of integers (usually of theterminals are data charactersform {0, 1, 2, ..., N} ), a coded character set andtags,an integer in that set determine a character. Conversely, a character and a coded character set determine theproductions are determined by the element declarations. The instance must conform to the DTD, that is, it must becharacter's code position (or, inthe language defined byrare cases, a few code positions). conforming HTML user agent A user agent that conforms to thisgrammar. The SGML declaration determines the lexiconspecification in its processing of thegrammar. It specifiesInternet Media Type `text/html'. data character Characters other than markup, which make up the content of elements. document characterset, which determinesset a coded characterrepertoire that containsset whose range includes all charactersthat occur in all text entitiesused inthe document, and the code positions associated with those characters. Thea document. Every SGMLdeclaration also specifies the syntax-referencedocument has exactly one document characterset ofset. Numeric character references are resolved via thedocument, and a few other parametersdocument character set. DTD document type definition. Rules thatbind the abstract syntax ofapply SGML toa concrete syntax. This concrete syntax determines howthesequencemarkup ofcharactersdocuments of a particular type, including a set of element and entity declarations. [SGML] element A component of the hierarchical structure defined by a document type definition; it ismapped to a sequence of terminalsidentified in a document instance by descriptive markup, usually a start-tag and end-tag. [SGML] end-tag Berners-Lee, Connolly [Page 6] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 Descriptive markup that identifies thegrammarend ofthe prologue. Foran element. [SGML] entity data with an associated notation or interpretation; for example,considera sequence of octets associated with an Internet Media Type. [SGML] fragment identifier the portion of an HREF attribute value followingdocument: <!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN"> <title>Parsing Example</title> <p>Some text. <em>*wow*</em></p> An HTML user agent should usetheSGML declaration that is given in 8.2, "SGML Declaration for HTML". According to its document`#' characterset, `*' refers to an asterisk character. The instance above is regarded aswhich modifies thefollowing sequencepresentation ofterminals: 1. TITLE start-tag 2. data characters: ``Parsing Example'' 3. TITLE end-tag 4. P start-tag 5.the destination of a hyperlink. form datacharacters ``Some text. '' 6. EM start-tag 7. ``*wow*'' 8. EM end-tag 9. P end-tag The start symbolset a sequence of name/value pairs; theDTD grammar is HTML,names are given by an HTML document and theproductionsvalues are givenin the public text identifiedby`-//IETF//DTDa user. HTML2.0//EN' (8.1, "HTML DTD"). Hence the terminals above parse as: HTML | \-HEAD | | | \-TITLE | | | \-<TITLE> | | | \-"Parsing Example" | | | \-</TITLE> | \-BODY | \-P | \-<P> | \-"Some text. " | \-EM | | | \-<EM> | | | \-"*wow*" | | | \-</EM> | \-</P> 2.2. HTML Lexical Syntaxdocument An SGMLspecifies an abstract syntax anddocument conforming to this document type definition. hyperlink areference concrete syntax. Aside from certain quantities and capacities (e.g. the limit onrelationship between two anchors, called thelength of a name), all HTML documents usetail and thereference concrete syntax. In particular, allhead. markup Syntactically delimited charactersare inadded to therepertoiredata ofISO 646 IRV. Data characters are drawn from thea documentcharacter set (see 5, "Character, Words,to represent its structure. There are four different kinds of markup: descriptive markup (tags), references, markup declarations, andParagraphs").processing instructions. [SGML] may Acomplete discussion of SGML parsing, e.g. the mapping ofdocument or user interface is conforming whether this statement applies or not. media type an Internet Media Type, as per [IMEDIA]. message entity asequence of characters tohead and body. The head is asequencecollection oftagsname/value fields, anddata, is left totheSGML standard[SGML]. This sectionbody isonlyasummary. 2.2.1. Data Characters Anysequence ofcharacters that do not constitute markup (see 9.6 ``Delimiter Recognition'' of [SGML]) are mapped directly to strings of data characters. Some markup also maps to data character strings. Numeric character references also map to single-character strings, viaoctets. The head defines thedocument character set. Each reference to onecontent type and content transfer encoding of thegeneral entities defined in thebody. [MIME] minimally conforming HTMLDTD also maps to a single-character string. For example, abc<def => "abc","<","def" abc<def => "abc","<","def" Noteuser agent A user agent thatthe terminating semicolon isconforms to this specification except for form processing. It may onlynecessary when theprocess level 1 HTML documents. must Documents or user agents in conflict with this statement are not conforming. Berners-Lee, Connolly [Page 7] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 numeric characterfollowing thereferencewould otherwise be recognized as markup: abc < def => "abc ","<"," def" abc < def => "abc ","<"," def" And note that an ampersand is only recognized asmarkupwhen it is followed by a letter or digit: abc & lt def => "abc & lt def" abc & 60 def => "abc & 60 def" A useful technique for translating plain text to HTML isthat refers toreplace each '<', '&', and '>'a character byan entity reference or numericits code position in the document characterreference as follows: ENTITY NUMERIC CHARACTER REFERENCE CHAR REF CHARACTER DESCRIPTION & & & Ampersand < < < Less than > > > Greater than NOTE - There areset. SGMLmechanisms, CDATA and RCDATA, to allow most `<', `>',document A sequence of characters organized physically as a set of entities and`&'logically into a hierarchy of elements. An SGML document consists of data charactersto be entered withoutand markup; theusemarkup describes the structure ofentity references. Because these features tend to be used and implemented inconsistently,the information andbecause they conflict with techniques for reducing HTML to 7 bit ASCII for transport, they are not used in this versionan instance ofthe HTML DTD. 2.2.2. Tags Tags delimit elements such as headings, paragraphs, lists, character highlighting, and links. Most HTML elements are identified inthat structure. [SGML] shall If a documentasor user agent conflicts with this statement, it does not conform to this specification. should If astart-tag, which givesdocument or user agent conflicts with this statement, undesirable results may occur in practice even though it conforms to this specification. start-tag Descriptive markup that identifies the start of an elementnameandattributes, followed by the content, followed by the end tag. Start-tags are delimited by `<'specifies its generic identifier and`>'; end tags are delimited by `</'attributes. [SGML] syntax-reference character set A coded character set whose range includes all characters used for markup; e.g. name characters and`>'. An example is: <H1>This is a Heading</H1> Some elements only have a start-tag withoutdelimiter characters. tag Markup that delimits anend-tag. For example, to createelement. A tag includes aline break, you use the `<BR>' tag. Additionally,name which refers to an element declaration in theend tags of some other elements, such as Paragraph (`</P>'), List Item (`</LI>'), Definition Term (`</DT>'),DTD, andDefinition Description (`<DD>') elements,maybe omitted. The contentinclude attributes. [SGML] text entity A finite sequence of characters. A text entity typically takes the form ofan element isa sequence ofdata character strings and nested elements. Some elements, such as anchors, cannot be nested. Anchors andoctets with some associated characterhighlighting may be put inside other constructs. Seeencoding scheme, transmitted over theHTML DTD, 8.1, "HTML DTD" for full details. NOTE - The SGML declaration for HTML specifies SHORTTAG YES, which means that there are other valid syntaxes for tags, such as NET tags, `<EM/.../'; empty start tags, `<>'; and empty end-tags, `</>'. Until support for these idiomsnetwork or stored in a file. [SGML] typical Typical processing iswidely deployed, their usedescribed for many elements. This isstrongly discouraged. 2.2.3. Names A name consists of a letter followed by up to 71 letters, digits, periods, or hyphens. Element names arenotcase sensitive,a mandatory part of the specification butentity names are. For example, `<BLOCKQUOTE>', `<BlockQuote>', and `<blockquote>' are equivalent, whereas `&'isdifferent from `&'. In a start-tag,given as guidance for designers and to help explain theelement name must immediately followuses for which thetag open delimiter `<'. 2.2.4. Attributes Inelements were intended. URI A Universal Resource Identifier is astart-tag, white space and attributesformatted string that serves as an identifier for a resource, typically on the Internet. URIs areallowed betweenused in HTML to identify theelement nameBerners-Lee, Connolly [Page 8] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 destination of hyperlinks. URIs in common practice include Uniform Resource Locators (URLs)[URL] andthe closing delimiter. An attribute typically consistsRelative URLs [RELURL]. user agent A component of a distributed system that presents anattribute name, an equal sign,interface and processes requests on behalf of avalue, though some attributes may be justuser; for example, avalue. White spacewww browser or a mail user agent. WWW The World-Wide Web isallowed around the equal sign. The value of the attribute may be either: * A string literal, delimiteda hypertext-based, distributed information system created bysingle quotes or double quotesresearchers at CERN in Switzerland. <URL:http://www.w3.org/> 3. HTML as an Application of SGML HTML is an application of ISO 8879:1986 -- Standard Generalized Markup Language (SGML). SGML is a system for defining structured document types andnot containing any occurrencesmarkup languages to represent instances ofthe delimiting character. NOTE - Some historical implementations consider any occurrencethose document types[SGML]. The public text -- DTD and SGML declaration -- of the`>' characterHTML document type definition are provided in 9, "HTML Public Text". The term _HTML_ refers tosignalboth theenddocument type defined here and the markup language for representing instances ofa tag. For compatibility with such implementations, when `>' appears inthis document type. 3.1. SGML Documents An HTML document is anattribute value, it should be represented withSGML document; that is, anumeric character reference. For example, `<IMG SRC="eq1.jpg" alt="a>b">' should be written `<IMG SRC="eq1.jpg" alt="a>b">' or `<IMG SRC="eq1.jpg" alt="a>b">'. * A name token (asequence ofletters, digits, periods, or hyphens). NOTE - Some historical implementations allow any character except space or `>' incharacters organized physically into aname token.set of entities, and logically as a hierarchy of elements. Inthis example, <img> istheelement name, src isSGML specification, theattribute name, and `http://host/dir/file.gif' isfirst production of theattribute value: <img src='http://host/dir/file.gif'> A useful technique for computingSGML syntax grammar separates anattribute value literal for a given string is to replace each quoteSGML document into three parts: an SGML declaration, a prologue, andspace character byanentity reference or numeric character reference as follows: ENTITY NUMERIC CHARACTER REFERENCE CHAR REF CHARACTER DESCRIPTION TAB 	 Tab LF Line Feed CR Carriage Return   Space " " " Quotation mark & & & Ampersandinstance. Forexample: <IMG SRC="image.jpg" alt="First "real" example"> Note that the SGML declaration in section 13.3 limitsthelengthpurposes ofan attribute value to 1024 characters. Attributes such as ISMAP and COMPACT may be written using a minimized syntax. The markup: <UL COMPACT="compact"> can be written usingthis specification, the prologue is aminimized syntax: <UL COMPACT> NOTE - Some historical implementations only understandDTD. This DTD describes another grammar: theminimized syntax. 2.2.5. Comments To include commentsstart symbol is given inan HTML document, use a comment declaration. A comment declaration consists of `<!' followed by zero or more comments followed by `>'. Each comment starts with `--'the doctype declaration, the terminals are data characters andincludes all text up totags, andincludingthenext occurrence of `--'. In a comment declaration, white space is allowed after each comment, but not beforeproductions are determined by thefirst comment.element declarations. Theentire comment declaration is ignored. NOTE - Some historical HTML implementations incorrectly consider any `>' characterinstance must conform to the DTD, that is, it must be in theterminationlanguage defined by this grammar. The SGML declaration determines the lexicon of the grammar. It specifies the document character set, which determines acomment. For example: <HEAD> <TITLE>HTML Comment Example</TITLE> <!-- Id: html-sgml.sgm,v 1.5 1995/05/26 21:29:50 connolly Exp --> <!-- another -- -- comment --> <!> </HEAD> <BODY> <p> <!- not a comment, just regular old datacharacter repertoire that contains all characters-> 2.2.6. Example HTML Document <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <HTML> <!-- Here's a good place to put a comment. --> <HEAD> <TITLE>Structural Example</TITLE> </HEAD><BODY> <H1>First Header</H1> <P>This is a paragraphthat occur inthe example HTML file. Keepall text entities inmind thatthetitle does not appear indocument, and thedocument text, but thatcode positions associated with those characters. The SGML declaration also specifies theheader (defined by H1) does.</P> <OL> <LI>First item in an ordered list. <LI>Second item in an ordered list. <UL COMPACT> <LI> Notesyntax-reference character set of the document, and a few other parameters thatlists can be nested; <LI> Whitespace may be usedbind the abstract syntax of SGML toassist in readinga concrete syntax. This Berners-Lee, Connolly [Page 9] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 concrete syntax determines how theHTML source. </UL> <LI>Third item in an ordered list. </OL> <P>Thissequence of characters of the document isan additional paragraph. Technically, end tags are not required for paragraphs, although they are allowed. You can include character highlighting inmapped to aparagraph. <EM>This sentencesequence of terminals in theparagraph is emphasized.</EM> Note thatgrammar of the</P> end tag has been omitted. <P> <IMG SRC ="triangle.xbm" alt="Warning: "> Be sure to read these <b>bold instructions</b>. </BODY></HTML> 3.prologue. For example, consider the following document: <!DOCTYPE html PUBLIC "-//IETF//DTD HTMLas an Internet Media Type2.0//EN"> <title>Parsing Example</title> <p>Some text. <em>*wow*</em></p> An HTML user agentallows users to interact with resources which have HTML representations. At a minimum, it must allow users to examine and navigate the content of HTML level 1 documents. HTML user agentsshouldbe able to preserve all formatting distinctions representeduse the SGML declaration that is given inan HTML document, and be able to simultaneously present resources referred9.5, "SGML Declaration for HTML". According toby IMG elements (they may ignore some formatting distinctions or IMG resources at the request of the user). Conforming HTML user agents should support form entry and submission. 3.1. text/html media type This specification defines the Internet Media Type[IMEDIA] (formerly referredits document character set, `*' refers toas the Content Type[MIME]) called `text/html'.an asterisk character, `*'. Thefollowing is to be registered with [IANA]. Media Type name text Media subtype name html Required parameters none Optional parameters level, charset Encoding considerations any encodinginstance above isallowed Security considerations see 3.3, "Security Considerations" The optional parameters are definedregarded asfollows: Level The level parameter specifies the feature set used inthedocument.following sequence of terminals: 1. start-tag: TITLE 2. data characters: ``Parsing Example'' 3. end-tag: TITLE 4. start-tag: P 5. data characters ``Some text. '' 6. start-tag: EM 7. data characters: ``*wow*'' 8. end-tag: EM 9. end-tag: P Thelevel is an integer number, implying that any featuresstart symbol ofsame or lower level may be present inthedocument. Level 1DTD grammar isall features defined in this specification except those that requireHTML, and the<FORM> element. Level 2 includes form processing. Level 2 isproductions are given in thedefault. Charset The charset parameter (as defined in section 7.1.1public text identified by `-//IETF//DTD HTML 2.0//EN' (9.1, "HTML DTD"). The terminals above parse as: HTML | \-HEAD | | | \-TITLE | | | \-<TITLE> | | | \-"Parsing Example" | | | \-</TITLE> | \-BODY | \-P Berners-Lee, Connolly [Page 10] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 | \-<P> | \-"Some text. " | \-EM | | | \-<EM> | | | \-"*wow*" | | | \-</EM> | \-</P> Some ofRFC 1521[MIME]) may be given to specifythecharacter encoding scheme used to representelements are delimited explicity by tags, while theHTML document as a sequenceboundaries ofoctets.others are inferred. Thedefault value<HTML> element contains a <HEAD> element and a <BODY> element. The <HEAD> contains <TITLE>, which isoutsideexplicitly delimited by start- and end-tags. 3.2. HTML Lexical Syntax SGML specifies an abstract syntax and a reference concrete syntax. Aside from certain quantities and capacities (e.g. thescopelimit on the length ofthis specification; but for example,a name), all HTML documents use thedefault is `US-ASCII'reference concrete syntax. In particular, all markup characters are in thecontextrepertoire ofMIME mail, and `ISO-8859-1' in[ISO-646]. Data characters are drawn from thecontext of HTTP. 3.2. HTML Document Representationdocument character set (see 6, "Characters, Words, and Paragraphs"). Amessage entity with a content typecomplete discussion of`text/html' represents an HTML document, consistingSGML parsing, e.g. the mapping of asingle text entity. The `charset' parameter (whether implicit or explicit) identifies a character encoding scheme. The text entity consistssequence ofthecharactersdetermined by this character encoding scheme and the octetsto a sequence of tags and data, is left to thebody of the message entity.SGML standard[SGML]. This section is only a summary. 3.2.1.Undeclared Markup Error Handling To facilitate experimentation and interoperability between implementations of various versionsData Characters Any sequence ofHTML, the installed basecharacters that do not constitute markup (see 9.6 ``Delimiter Recognition'' ofHTML user agents supports a superset[SGML]) are mapped directly to strings of data characters. Some markup also maps to data character strings. Numeric character references map to single-character strings, via theHTML 2.0 language by reducing itdocument character set. Each reference toHTML 2.0: markupone of the general entities defined in theform ofHTML DTD maps to astart-tagsingle-character string. For example, abc<def => "abc","<","def" abc<def => "abc","<","def" The terminating semicolon on entity orend-tag whose generic identifier is not declarednumeric character references ismapped to nothing during tokenization. Undeclared attributes are treated similarly. The entire attribute specification of an unknown attribute (i.e.,only necessary when theunknown attribute and its value, if any) should be ignored. Oncharacter following theother hand, references to undeclared entities shouldreference would otherwise betreatedrecognized asdata characters. For example: <div class=chapter><h1>foo</h1><p>...</div> => <H1>,"foo",</H1>,<P>,"..." xxx <P ID=z23> yyypart of the name (see Berners-Lee, Connolly [Page 11] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 9.4.5 ``Reference End'' in [SGML]). abc < def =>"xxx ",<P>," yyy Let α and β be finite sets."abc ","<"," def" abc < def =>"Let α and β be finite sets." Support for notifying the user of such errors"abc ","<"," def" An ampersand isencouraged. Information providers are warned that this conventiononly recognized as markup when it isnot binding: unspecified behavior may result, as such markup is not conforming to this specification. 3.2.2. Conventional Representation of Newlines SGML specifies that a text entity is a sequence of records, each beginning withfollowed by arecord start character and ending withletter or arecord end character (code positions 10`#' and13 respectively) (section 7.6.1, ``Record Boundaries'' in [SGML]). [MIME] specifies thatabody of type `text/*'digit: abc & lt def => "abc & lt def" abc &# 60 def => "abc &# 60 def" A useful technique for translating plain text to HTML isa sequence of lines,to replace eachterminated'<', '&', and '>' byCRLF, that is, octets 10, 13. In practice, HTML documentsan entity reference or numeric character reference as follows: ENTITY NUMERIC CHARACTER REFERENCE CHAR REF CHARACTER DESCRIPTION --------- ---------- ----------- --------------------- & & & Ampersand < < < Less than > > > Greater than NOTE - There arefrequently representedSGML mechanisms, CDATA andtransmitted using an end of line convention that depends on the conventions of the source of the document; frequently,RCDATA declared content, thatrepresentation consists of CR only, LF only, or a CR LF sequence. Henceallow most `<', `>', and `&' characters to be entered without thedecodinguse ofthe octets will often result in a textentitywith some missing record start and record end characters. Since there is no ambiguity, HTML user agents are encouragedreferences. Because these mechanisms tend toinfer the missing record startbe used andend characters. Animplemented inconsistently, and because they conflict with techniques for reducing HTMLuser agent should treat end of lineto 7 bit ASCII for transport, they are deprecated inanythis version ofits variationsHTML. See 5.5.2.1, "Example and Listing: XMP, LISTING". 3.2.2. Tags Tags delimit elements such asa word space in all contexts except preformatted text. Within preformatted text, anheadings, paragraphs, lists, character highlighting, and links. Most HTMLuser agent should treat any of the three common representations of end-of-lineelements are identified in a document asstartinganew line. 3.3. Security Considerations Anchors, embedded images, and all other elementsstart-tag, whichcontain URIs as parameters may causegives theURI to be dereferenced in response to user input. In this case,element name and attributes, followed by thesecurity considerations ofcontent, followed by theURI specification apply. The widely deployed methods for submitting forms requests -- HTTPend tag. Start-tags are delimited by `<' andSMTP -- provide little assurance of confidentiality. Information providers who request sensitive information via forms -- especially`>'; end tags are delimited byway of the `PASSWORD' type input field (see 7.1.2, "Input Field: INPUT") -- should be aware`</' andmake their users aware of the lack of confidentiality. 4. Document Structure To identify information as an HTML document conforming to this specification, each document should start with the following prologue: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> NOTE - If the body of`>'. An example is: <H1>This is a`text/html' message entity does not begin withHeading</H1> Some elements only have adocument type declaration,start-tag without anHTML user agent should infer the above document type declaration. HTML user agents are requiredend-tag. For example, tosupportcreate a line break, you use theabove document type declaration and`<BR>' tag. Additionally, thefollowing document type declarations: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Level 2//EN"> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Level 1//EN"> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Strict//EN"> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict//EN"> They are not required to support other document types, but they may. In particular, they may support other formal public identifiers, orend tags of some otherdocument types altogether. They may support an internal declaration subset with supplemental entity, element,elements, such as Paragraph (`</P>'), List Item (`</LI>'), Definition Term (`</DT>'), andother markup declarations, or theyDefinition Description (`<DD>') elements, maynot. 4.1. Document Element: <HTML>be omitted. TheHTML document element consistscontent ofa head and a body, much like a memo or a mail message. The head contains the title and other optional elements. The bodyan element is atext flow consistingsequence ofparagraphs, lists,data character strings andothernested elements.4.2. Head: <HEAD> The head of an HTML document is an unordered collection of information about the document. For example: <HEAD> <TITLE>Introduction to HTML</TITLE> </HEAD> 4.2.1. Title: <TITLE> Every HTML document must contain a <TITLE> element. The title should identify the contents of the document in a global context. A short title,Some elements, such as``Introduction''anchors, cannot be nested. Anchors and character highlighting may bemeaningless out of context. A title such as ``Introduction toput inside other constructs. See the HTMLElements'' is more appropriate.DTD, 9.1, "HTML DTD" for Berners-Lee, Connolly [Page 12] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 full details. NOTE - Thelength 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.SGML declaration for HTML specifies SHORTTAG YES, which means that there are other valid syntaxes for tags, such as NET tags, `<EM/.../'; empty start tags, `<>'; and empty end-tags, `</>'. Until support for these idioms is widely deployed, their use is strongly discouraged. 3.2.3. Names Auser agent may display the titlename consists of adocument in a history listletter followed by letters, digits, periods, orashyphens. The length of alabel forname is limited to 72 characters by thewindow displaying`NAMELEN' parameter in thedocument. Contrast with headings (4.4, "Headings: H1 ... H6"), whichSGML delcaration for HTML, 9.5, "SGML Declaration for HTML". Element and attribute names aretypically displayed withnot case sensitive, but entity names are. For example, `<BLOCKQUOTE>', `<BlockQuote>', and `<blockquote>' are equivalent, whereas `&' is different from `&'. In a start-tag, thebody text flow. 4.2.2. Base URI: <BASE> The optional <BASE>elementspecifiesname must immediately follow theURI oftag open delimiter `<'. 3.2.4. Attributes In a start-tag, white space and attributes are allowed between thedocument, overriding any context otherwise known toelement name and theuser agent. The required HREFclosing delimiter. An attributespecifies the URI for navigatingspecification typically consists of an attribute name, an equal sign, and a value, though some attribute specifications may be just a name token. White space is allowed around thedocument (see 6, "Hyperlinks").equal sign. The value of theHREFattributemustmay bean absolute URI. 4.2.3. Keyword Index: <ISINDEX> The <ISINDEX> element indicates that the user agent should allow the user to search an indexeither: * A string literal, delimited bygiving keywords. See 6.3, "Queries and Indexes" for details. 4.2.4. Link: <LINK> The <LINK> element represents a hyperlink. It is typically used to indicate authorship, related indexes and glossaries, oldersingle quotes ormore recent versions, stylesheets, document hierarchy etc. 4.2.5. Associated Metainformation: <META> The <META> element is an extensible container for use in identifying, indexing,double quotes andcataloging specialized document metainformation. Metainformation has two main functions: * to provide a means to discover thatnot containing any occurrences of thedata set exists and how it might be obtained or accessed; and *delimiting character. NOTE - Some historical implementations consider any occurrence of the `>' character todocumentsignal thecontent, quality, and features of a data set and so give an indicationend ofits fitness for use. Each <META> element specifies a name/value pair. If multiple META elements are provided with the same name, their combined contents--concatenated asacomma-separated list--is the value associatedtag. For compatibility withthat name. NOTE - The <META> elementsuch implementations, when `>' appears in an attribute value, it shouldnotbeused whererepresented with aspecific element such as <TITLE> would be appropriate. HTTP serversnumeric character reference. For example, `<IMG SRC="eq1.jpg" alt="a>b">' shouldread the contentbe written `<IMG SRC="eq1.jpg" alt="a>b">' or `<IMG SRC="eq1.jpg" alt="a>b">'. * A name token (a sequence ofthe document <HEAD> to generate header fields corresponding toletters, digits, periods, or hyphens). Name tokens are not case sensitive. NOTE - Some historical implementations allow anyelements definingcharacter except space or `>' in avalue forname token. In this example, <img> is the element name, src is the attributeHTTP-EQUIV. NOTEBerners-Lee, Connolly [Page 13] INTERNET-DRAFT Hypertext Markup Language -The method by which the server extracts document metainformation is unspecified2.0 June 16, 1995 name, andnot mandatory. The META element only provides`http://host/dir/file.gif' is the attribute value: <img src='http://host/dir/file.gif'> A useful technique for computing anextensible mechanismattribute value literal foridentifying and embedding document metainformation - how it may be useda given string isuptothe individual server implementationreplace each quote and white space character by an entity reference or numeric character reference as follows: ENTITY NUMERIC CHARACTER REFERENCE CHAR REF CHARACTER DESCRIPTION --------- ---------- ----------- --------------------- HT 	 Tab LF Line Feed CR Carriage Return SP   Space " " " Quotation mark & & & Ampersand For example: <IMG SRC="image.jpg" alt="First "real" example"> The `NAMELEN' parameter in theHTML user agent. Attributes ofSGML declaration (9.5, "SGML Declaration for HTML") limits theMETA element: HTTP-EQUIV Thislength of an attributebinds the elementvalue toan HTTP header field. An HTTP server1024 characters. Attributes such as ISMAP and COMPACT mayuse this information to process the doducment. In particular, it should includebe written using aheader fieldminimized syntax (see 7.9.1.2 ``Omitted Attribute Name'' in [SGML]). The markup: <UL COMPACT="compact"> can be written using a minimized syntax: <UL COMPACT> NOTE - Some historical implementations only understand theresponsesminimized syntax. 3.2.5. Comments To include comments in an HTML document, use a comment declaration. A comment declaration consists of `<!' followed by zero or more comments followed by `>'. Each comment starts with `--' and includes all text up toGET requests for this document: the header name is taken from the HTTP-EQUIV attribute value,and including theheader value is taken from the value of the CONTENT attribute. HTTP header names are not case sensitive. NAME namenext occurrence ofthe name/value pair. If`--'. In a comment declaration, white space is allowed after each comment, but notpresent, HTTP-EQUIV givesbefore thename. CONTENTfirst comment. Thevalue of the name/value pair. Examples Ifentire comment declaration is ignored. NOTE - Some historical HTML implementations incorrectly consider any `>' character to be the termination of a comment. Berners-Lee, Connolly [Page 14] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 For example: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HEAD> <TITLE>HTML Comment Example</TITLE> <!-- Id: html-sgml.sgm,v 1.5 1995/05/26 21:29:50 connolly Exp --> <!-- another -- -- comment --> <!> </HEAD> <BODY> <p> <!- not a comment, just regular old data characters -> 3.3. HTML Public Text Identifiers To identify information as an HTML document conforming to this specification, each documentcontains: <META HTTP-EQUIV="Expires" CONTENT="Tue, 04 Dec 1993 21:29:02 GMT"> <meta http-equiv="Keywords" CONTENT="Fred, Barney"> <META HTTP-EQUIV="Reply-to" content="fielding@ics.uci.edu (Roy Fielding)"> then the servershouldinclude the following header fields: Expires: Tue, 04 Dec 1993 21:29:02 GMT Keywords: Fred, Barney Reply-to: fielding@ics.uci.edu (Roy Fielding) as partstart with one of theHTTP responsefollowing document type declarations. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> This document type declaration refers toa `GET' or `HEAD' request for that document. When the HTTP-EQUIV attribute is not present,theserver should not generate an HTTP response header forHTML DTD in 9.1, "HTML DTD". NOTE - If themetainformation; e.g., Dobody of a `text/html' message entity does notname an HTTP-EQUIV equal tobegin with aresponse header thatdocument type declaration, an HTML user agent shouldnormally only be generated byinfer theHTTP server. Example names that are inappropriate include `Server', `Date',above document type declaration. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Level 2//EN"> This document type declaration also refers to the HTML DTD which appears in 9.1, "HTML DTD". <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Level 1//EN"> This document type declaration refers to the level 1 HTML DTD in 9.3, "Level 1 HTML DTD". Form elements must not occur in level 1 documents. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Strict//EN"> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 1//EN"> These two document type declarations refer to the HTML DTD in 9.2, "Strict HTML DTD" and`Last-modified' --9.4, "Strict Level 1 HTML DTD". They refer to theexact listmore structurally rigid definition ofinappropriate names is dependent on the particular server implementation. 4.2.6. Next Id: <NEXTID>HTML. HTML user agents may support other document types. In particular, they may support other formal public identifiers, or other document types altogether. They<NEXTID> element givesmay support an internal declaration subset with supplemental entity, element, and other markup declarations. Berners-Lee, Connolly [Page 15] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 3.4. Example HTML Document <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML> <!-- Here's ahint for the namegood place touse for an <A> element when editing anput a comment. --> <HEAD> <TITLE>Structural Example</TITLE> </HEAD><BODY> <H1>First Header</H1> <P>This is a paragraph in the example HTMLdocument. It should be distinct from all NAME attribute values on <A> elements. For example: <NEXTID N=Z27> 4.3. Body: <BODY> The <BODY> element containsfile. Keep in mind that thetext flow oftitle does not appear in thedocument, including headings, paragraphs, lists, etc. For example: <BODY> <h1>Important Stuff</h1> <p>Explanation about important stuff... </BODY> 4.4. Headings: <H1> ... <H6> The six heading elements, <H1> through <H6>, denote section headings. Althoughdocument text, but that theorder and occurence of headings is not constrainedheader (defined by H1) does.</P> <OL> <LI>First item in an ordered list. <LI>Second item in an ordered list. <UL COMPACT> <LI> Note that lists can be nested; <LI> Whitespace may be used to assist in reading the HTMLDTD, documents shouldsource. </UL> <LI>Third item in an ordered list. </OL> <P>This is an additional paragraph. Technically, end tags are notskip levels (for example, from H1required for paragraphs, although they are allowed. You can include character highlighting in a paragraph. <EM>This sentence of the paragraph is emphasized.</EM> Note that the </P> end tag has been omitted. <P> <IMG SRC ="triangle.xbm" alt="Warning: "> Be sure toH3),read these <b>bold instructions</b>. </BODY></HTML> 4. HTML asconverting such documentsan Internet Media Type An HTML user agent allows users toother representations is often problematic. Example of use: <H1>This isinteract with resources which have HTML representations. At aheading</H1> Here is some text <H2>Secondminimum, it must allow users to examine and navigate the content of HTML levelheading</H2> Here is some more text. Typical renderings are: H1 Bold, very-large font, centered. One or two blank lines above1 documents. HTML user agents should be able to preserve all formatting distinctions represented in an HTML document, andbelow. H2 Bold, large font, flush-left. Onebe able to simultaneously present resources referred to by IMG elements (they may ignore some formatting distinctions ortwo blank lines above and below. H3 Italic, large font, slightly indented fromIMG resources at theleft margin. One or two blank lines above and below. H4 Bold, normal font, indented more than H3. One blank line above and below. H5 Italic, normal font, indented as H4. One blank line above. H6 Bold, indented same as normal text, more than H5. One blank line above. 4.5. Block Structuring Elements Eachrequest of thefollowing elements defines a block structure; that is, they indicate a paragraph break beforeuser). Level 2 HTML user agents should support form entry andafter. 4.5.1. Paragraph: <P> The <P> element indicates a paragraph.submission. 4.1. text/html media type This specification defines the Internet Media Type[IMEDIA] (formerly referred to as the Content Type[MIME]) called `text/html'. Theexact indentation, leading space, etc. of a paragraphfollowing isnot specified and mayto bea function of other tags, style sheets, etc. Typically, paragraphsregistered with [IANA]. Media Type name text Berners-Lee, Connolly [Page 16] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 Media subtype name html Required parameters none Optional parameters level, charset Encoding considerations any encoding is allowed Security considerations see 10, "Security Considerations" The optional parameters aresurrounded by a vertical space of one line or half a line.defined as follows: Level Thefirst line in a paragraph is indentedlevel parameter specifies the feature set used insome cases. Example of use: <H1>This Heading PrecedestheParagraph</H1> <P>Thisdocument. The level isthe textan integer number, implying that any features of same or lower level may be present in thefirst paragraph. <P>Thisdocument. Level 1 isthe text of the second paragraph. Although you do not need to start paragraphs on new lines, maintainingall features defined in thisconvention facilitates document maintenance.</P> <P>Thisspecification except those that require the <FORM> element. Level 2 includes form processing. Level 2 is thetext of a third paragraph.</P> 4.5.2. Preformatted Text: <PRE>default. Charset The<PRE> element represents a character cell blockcharset parameter (as defined in section 7.1.1 oftextand so is suitable for text that has been formatted on screen. The <PRE> tagRFC 1521[MIME]) may be given to specify the character encoding scheme usedwithto represent theoptional WIDTH attribute.HTML document as a sequence of octets. TheWIDTH attribute specifiesdefault value is outside themaximum numberscope ofcharactersthis specification; but fora line and allowsexample, theHTML user agent to select a suitable fontdefault is `US-ASCII' in the context of MIME mail, andindentation. Within preformatted text: * Line breaks within`ISO-8859-1' in thetext are rendered ascontext of HTTP. 4.2. HTML Document Representation A message entity with amove to the beginningcontent type ofthe next line. NOTE - References to the ``beginning`text/html' represents an HTML document, consisting of anew line'' do not imply that the renderer is forbidden from usingsingle text entity. The `charset' parameter (whether implicit or explicit) identifies aconstant left indent for rendering preformatted text.character encoding scheme. Theleft indent may be constrained bytext entity consists of thewidth required. * Anchor elementscharacters determined by this character encoding scheme andphrase markup may be used. NOTE - Within a Preformatted Text element,theconstraint thatoctets of therendering must be on a fixed horizontal character pitch may limit or preventbody of theabilitymessage entity. 4.2.1. Undeclared Markup Error Handling To facilitate experimentation and interoperability between implementations of various versions of HTML, the installed base of HTML useragent to faithfully render phrase markup. * Elements that define paragraph formatting (headings, address, etc.) must not be used. NOTE - Som historical documents contain <P> tags in <PRE> elements. Useragentsare engcouraged to treat this asupports aline break. A <P> tag followedsuperset of the HTML 2.0 language bya newline character should produce only one line break, not a line break plus a blank line. * The horizontal tab character (encodedreducing it to HTML 2.0: markup in`US-ASCII' and `ISO-8859-1' as decimal 9) must be interpreted as the smallest positive nonzero number of spaces which will leavethenumberform ofcharacters so far on the line asamultiple of 8. Example of use: <PRE> Thisstart-tag or end-tag, whose generic identifier isan example line. </PRE> 4.5.3. Address: <ADDRESS>not declared is mapped to Berners-Lee, Connolly [Page 17] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 nothing during tokenization. Undeclared attributes are treated similarly. The<ADDRESS> element specifies such information as address, signature and authorship, often at the beginning or end of the bodyentire attribute specification ofa document. Typically, the <ADDRESS> element is rendered inanitalic typefaceunknown attribute (i.e., the unknown attribute andmay be indented. Example of use: <ADDRESS> Newsletter editor<BR> J.R. Brown<BR> JimquickPost News, Jumquick, CT 01234<BR> Tel (123) 456 7890 </ADDRESS> 4.5.4. Block Quote: <BLOCKQUOTE> The <BLOCKQUOTE> element contains text quoted from another source. A typical rendering mightits value, if any) should bea slight extra left and right indent, and/or italic font. The <BLOCKQUOTE> typically provides space above and below the quote. Single-font rendition may reflectignored. On thequotation style of Internet mail by putting a vertical line of graphic characters, suchother hand, references to undeclared entities should be treated asthe greater than symbol (>), in the left margin. Example of use: I think the poem ends <BLOCKQUOTE> <P>Soft you now, the fair Ophelia. Nymph, in thy orisons,data characters. For example: <div class=chapter><h1>foo</h1><p>...</div> => <H1>,"foo",</H1>,<P>,"..." xxx <P ID=z23> yyy => "xxx ",<P>," yyy Let α & β beall my sins remembered. </BLOCKQUOTE> but I am not sure. 4.6. List Elements HTML includes a number of list elements. They mayfinite sets. => "Let α & β beused in combination;finite sets." Support forexample, a <OL>notifying the user of such errors is encouraged. Information providers are warned that this convention is not binding: unspecified behavior maybe nested in an <LI> elementresult, as such markup does not conform to this specification. 4.2.2. Conventional Representation of Newlines SGML specifies that a<UL>. 4.6.1. Unordered List: <UL>, <LI> The <UL> representstext entity is alistsequence ofitemsrecords, each beginning withno inherent ordering -- typicallyabulleted list. The content ofrecord start character and ending with a<UL> elementrecord end character (code positions 10 and 13 respectively) (section 7.6.1, ``Record Boundaries'' in [SGML]). [MIME] specifies that a body of type `text/*' is a sequence of<LI> elements. For example: <UL> <LI>First list item <LI>Second list item <p>second paragraph of second item <LI>Third list item </UL> 4.6.2. Ordered List: <OL> The <UL> element represents an ordered list of items, sortedlines, each terminated bysequence or order of importance. The content of a <OL> element is a sequenceCRLF, that is, octets 13, 10. In practice, HTML documents are frequently represented and transmitted using an end of<LI> elements. For example: <OL> <LI>Click the Web button to openline convention that depends on theOpenconventions of theURI window. <LI>Entersource of theURI number indocument; frequently, that representation consists of CR only, LF only, or a CR LF sequence. Hence thetext fielddecoding of theOpen 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> The COMPACT attribute suggests thatoctets will often result in acompact rendering be used. 4.6.3. Directory List: <DIR> The <DIR> elementtext entity with some missing record start and record end characters. Since there issimilarno ambiguity, HTML user agents are encouraged to infer the<UL> element. It represents a listmissing record start and end characters. An HTML user agent should treat end ofshort items, typically up to 20 characters each. Itemsline in any of its variations as adirectory list may be arrangedword space incolumns, typically 24 characters wide. The contentall contexts except preformatted text. Within preformatted text, an HTML user agent should treat any of the three common representations of end-of-line as starting a<OL> elementnew line. 5. Document Structure An HTML document is asequencetree of<LI> elements. Nested blockelements, including a head and body, headings, paragraphs, lists, etc. Form elements arenot allowedBerners-Lee, Connolly [Page 18] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 discussed inthe content8, "Forms". 5.1. Document Element: HTML The HTML document element consists of<DIR>a head and a body, much like a memo or a mail message. The head contains the title and optional elements.For example: <DIR> <LI>A-H<LI>I-M <LI>M-R<LI>S-Z </DIR> 4.6.4. Menu List: <MENU>The<MENU> elementbody is alisttext flow consisting ofitems with typically one line per item.paragraphs, lists, and other elements. 5.2. Head: HEAD Themenu list style is typically more compact than the stylehead of anunordered list. The content of a <MENU> elementHTML document isa sequencean unordered collection of<LI> elements. Nested block elements are not allowed ininformation about thecontent of <MENU> elements.document. For example:<MENU> <LI>First item in<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HEAD> <TITLE>Introduction to HTML</TITLE> </HEAD> ... 5.2.1. Title: TITLE Every HTML document must contain a <TITLE> element. The title should identify thelist. <LI>Second item incontents of thelist. <LI>Third itemdocument inthe list. </MENU> 4.6.5. Definition List: <DL>, <DT>, <DD> A definition list isalist of terms and corresponding definitions. Definition lists are typically formatted with the term flush-left and the definition, formatted paragraph style, indented after the term. Exampleglobal context. A short title, such as ``Introduction'' may be meaningless out ofuse: <DL> <DT>Term<DD>Thiscontext. A title such as ``Introduction to HTML Elements'' isthe definitionmore appropriate. NOTE - The length ofthe first term. <DT>Term<DD>Thisa title isthe definition of the second term. </DL> If the DT term doesnotfit in the DT column (one third of the display area), itlimited; however, long titles may beextended acrosstruncated in some applications. To minimize this possibility, titles should be fewer than 64 characters. A user agent may display thepage withtitle of a document in a history list or as a label for theDD section moved towindow displaying thenext line, or it may be wrapped onto successive lines ofdocument. This differs from headings (5.4, "Headings: H1 ... H6"), which are typically displayed within theleft hand column.body text flow. 5.2.2. Base Address: BASE The optionalCOMPACT attribute suggests that a compact rendering be used, because<BASE> element specifies thelist items are small and/orbase address for resolving relative links from theentire list is large. Unlessdocument, overriding any context otherwise known to theCOMPACT attribute is present, an HTMLuseragent may leave white space between successive DT, DD pairs.agent. TheCOMPACTrequired HREF attributemay also reducespecifies thewidthURI for navigating the document (see 7, "Hyperlinks"). The value of theleft-hand (DT) column. <DL COMPACT> <DT>Term<DD>This isHREF attribute must be an absolute URI. Berners-Lee, Connolly [Page 19] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 5.2.3. Keyword Index: ISINDEX The <ISINDEX> element indicates that thefirst definition in compact format. <DT>Term<DD>This isuser agent should allow thesecond definition in compact format. </DL> 4.7. Phrase Markup Phrases may be marked up accordinguser toidiomatic usage, typographic appearance, orsearch an index by giving keywords. See 7.5, "Queries and Indexes" foruse asdetails. 5.2.4. Link: LINK The <LINK> element represents a hyperlinkanchors. User agents must render highlighted phrases distinctly from plain text. Additionally, <EM> content must be rendered(see 7, "Hyperlinks"). It has the same attributes asdistinct from <STRONG> content, and <B> content must rendered as distinct from <I> content. Phrase elements may be nested within the content of other phrase elements; however, HTML user agents may render nested phrase elements indistinctly from non-nested elements: plain <B>bold <I>italic</I></B> maytherendered the same as plain <B>bold </B><I>italic</I> 4.7.1. Idiomatic Elements 4.7.1.1. Citation: <CITE><A> element (see 5.7.3, "Anchor: A"). The<CITE><LINK> element is typically used to indicatethe title of a bookauthorship, related indexes and glossaries, older orother citation. It is typically typeset as italics. For example: He just couldn't get enough of <cite>The Grapes of Wrath</cite>. 4.7.1.2. Code: <CODE>more recent versions, style sheets, document hierarchy etc. 5.2.5. Associated Meta-information: META The<CODE><META> elementindicatesis anexample of code, typically renderedextensible container for use in identifying specialized document meta-information. Meta-information has two main functions: * to provide amonospaced font. Contrast withmeans to discover that the<PRE> block structuring element in 4.5.2, "Preformatted Text: PRE". For example: The expression <code>x += 1</code> is shortdata set exists and how it might be obtained or accessed; and * to document the content, quality, and features of a data set, indicating its fitness for<code>x = x + 1</code>. 4.7.1.3. Emphasis: <EM> The <EM>use. Each <META> elementindicates an emphasized phrase, typically renderedspecifies a name/value pair. If multiple META elements are provided with the same name, their combined contents--concatenated asitalics. For example: A singular subject <em>always</em> takesasingular verb. 4.7.1.4. Keyboard: <KBD>comma-separated list--is the value associated with that name. NOTE - TheKeyboard<META> elementindicates text typed by a user, typically rendered in a monospaced font. This is commonlyshould not be usedin instruction manuals. For example: Enter <kbd>FIND IT</kbd> to search the database. 4.7.1.5. Sample: <SAMP> The <SAMP> element indicates a sequence of literal characters, typically rendered in a monospaced font. For example: The only word containing the letters <samp>mt</samp> is dreamt. 4.7.1.6. Strong Empasis: <STRONG> The <STRONG> element indicates strong emphasis, typically rendered in bold. For example: <strong>STOP</strong>, or I'll say "<strong>STOP</strong>" again!. 4.7.1.7. Variable: <VAR> The <VAR> element indicateswhere aplaceholder, typically renderedspecific element, such asitalic. For example: Take a guess: Roses are <var>blank</var>. 4.7.2. Typographic Elements Typographic elements are used to specify<TITLE>, would be more appropriate. HTTP servers may read theformatcontent ofmarked text. Typical renderings for idomaticthe document <HEAD> to generate header fields corresponding to any elementsvary between user agents. Ifdefining aspecific rendering is necessary --value forexample, when referring to a specific text attribute as in ``The italic parts are mandatory'' -- a typographic element can be used to ensure thattheintended typography is used where possible. 4.7.2.1. Bold: <B>attribute HTTP-EQUIV. NOTE - The<B> element indicated bold text. Where bold typographymethod by which the server extracts document meta-information isunavailable, an alternative representation may be used. 4.7.2.2. Italic: <I>unspecified and not mandatory. The<I><META> elementindicated italic text. Where italic typography is unavailable,only provides analternative representationextensible mechanism for identifying and embedding document meta-information -- how it may beused. 4.7.2.3. Typewriter: <TT> The <TT> element indicates typewriter text. Where a typewriter fontused isunavailable, an alternative representation may be used. 4.7.3. Anchor: <A> The <A> element indicates the source and/or destination of a hyperlink (see 6, "Hyperlinks"). At least one ofup to theNAMEindividual server implementation andHREF attributes should be given.the HTML user agent. Attributes of the<A>META element:HREF gives the destination of a hyperlink. NAME givesHTTP-EQUIV binds thename ofelement to an HTTP header field. An HTTP Berners-Lee, Connolly [Page 20] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 server may use this information to process theanchor, and makesdocument. In particular, itavailable as a navigation destination. TITLE suggestsmay include atitle forheader field in thedestination resource -- advisory only. The TITLE attribute may be used: * for display priorresponses toaccessing the destination resource,requests forexample, as a margin note or on a small box whilethis document: themouseheader name isover the anchor, or whiletaken from thedocument is being loaded; * for resources that do not specify a title such as graphics, plain text and Gopher menus, for use as a window title. REL The RELHTTP-EQUIV attributegives the relationship(s) described byvalue, and thehyperlink. Theheader value isa whitespace separated list of relationship names. REV same as the REL attribute, buttaken from thesemanticsvalue of therelationshipCONTENT attribute. HTTP header names arein 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. URNnot case sensitive. NAME specifiesa preferred, more persistent identifier forthedestination. The format of URNs is under discussion (1995) by various working groupsname of theInternet Engineering Task Force. METHODSname/value pair. If not present, HTTP-EQUIV gives the name. CONTENT specifiesmethods to be used in accessingthedestination, as a whitespace-separated listvalue ofnames. For similar reasons as fortheTITLE attribute, it may be useful to include the information in advance inname/value pair. Examples If thelink. For example,document contains: <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"> then theHTML user agentserver maychose a different renderinginclude the following header fields: Expires: Tue, 04 Dec 1993 21:29:02 GMT Keywords: Fred, Barney Reply-to: fielding@ics.uci.edu (Roy Fielding) asa functionpart of themethods allowed;HTTP response to a `GET' or `HEAD' request forexample, somethingthatis searchable may get a different icon. 4.8. Line Break: <BR> The <BR> element specifies a line break between words (see 5, "Character, Words, and Paragraphs"). For example: <P> Pease porridge hot<BR> Pease porridge cold<BR> Pease porridge indocument. An HTTP server must not use thepot<BR> Nine days old. 4.9. Horizontal Rule: <HR> The <HR> element is a divider between sections of text; typcially a full width horizontal rule or equivalent graphic. For example: <HR> <ADDRESS>February 8, 1995, CERN</ADDRESS> </BODY> 4.10. Image: <IMG> The <IMG><META> elementrefersto form animage or icon. HTML user agents that cannot process images ignore the <IMG> elementHTTP response header unlessittheALTHTTP-EQUIV attribute is present.NOTE - SomeAn HTTP server may disregard any <META> elements that specify information controlled by the HTTP server, for example `Server', `Date', and `Last-modified'. 5.2.6. Next Id: NEXTID The <NEXTID> element is included for historical reasons only. HTMLuser agents can process graphics linked via anchors , butdocument should not<IMG> graphics. Ifcontain <NEXTID> elements. The <NEXTID> element gives agraphic is essential, it should be referenced from anhint for the name to use for a new <A> elementrather than in <IMG> element.If the graphic is not essential, then the <IMG>when editing an HTML document. It should be distinct from all NAME attribute values on <A> elements. For example: <NEXTID N=Z27> Berners-Lee, Connolly [Page 21] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 5.3. Body: BODY The <BODY> elementis appropriate. Attributes of the <IMG> element: ALIGN alignment of the image with respect tocontains the textbaseline. * `TOP' specifies that the top of the image aligns with the tallest item on the line contianing the image. * `MIDDLE' specifies that the center of the image aligns with the baseline of the line containing the image. * `BOTTOM' specifies that the bottom of the image aligns with the baselineflow of theline containing the image. ALT Optional alternative text, for use in non-graphical environments. ISMAP indicates an image map (see 6.4, "Image Maps"). SRC specifiesdocument, including headings, paragraphs, lists, etc. For example: <BODY> <h1>Important Stuff</h1> <p>Explanation about important stuff... </BODY> 5.4. Headings: H1 ... H6 The six heading elements, <H1> through <H6>, denote section headings. Although theURIorder and occurrence of headings is not constrained by theimage resource. NOTE - In practice, the media types of image resources are limited to a few raster graphic formats: typically `image/gif', `image/jpeg'. In particular, `text/html' resources areHTML DTD, documents should notintendedskip levels (for example, from H1 tobe usedH3), asimage resources. Examplesconverting such documents to other representations is often problematic. Example of use:<IMG SRC="triangle.xbm" ALT="Warning:"> Be sure to read these instructions. <IMG SRC="triangle.xbm">Be sure to read these instructions. <a href="http://machine/htbin/imagemap/sample"> <IMG SRC="sample.xbm" ISMAP> </a> 5. Character, Words, and Paragraphs An HTML user agent should present the body of an HTML document as<H1>This is acollection of typeset paragraphs and preformattedheading</H1> Here is some text <H2>Second level heading</H2> Here is some more text.Except forTypical renderings are: H1 Bold, very-large font, centered. One or two blank lines above and below. H2 Bold, large font, flush-left. One or two blank lines above and below. H3 Italic, large font, slightly indented from the<PRE> element, each blockleft margin. One or two blank lines above and below. H4 Bold, normal font, indented more than H3. One blank line above and below. H5 Italic, normal font, indented as H4. One blank line above. H6 Bold, indented same as normal text, more than H5. One blank line above. Berners-Lee, Connolly [Page 22] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 5.5. Block Structuring Elements Block structuring elements include paragraphs, lists, and block quotes. They must not contain heading elements, but they may contain phrase markup, and in some cases, they may be nested. 5.5.1. Paragraph: P The <P> elementis regarded asindicates a paragraph. The exact indentation, leading space, etc. of a paragraphby taking the data characters in its contentis not specified andthe contentmay be a function ofits descendant elements, concatenating them, and splitting the result into words, separatedother tags, style sheets, etc. Typically, paragraphs are surrounded byspace, tab,a vertical space of one line orrecord end characters (and perhaps hyphen characters).half a line. Thesequence of words is typeset asfirst line in a paragraphby breaking it into lines. 5.1. The ISO Latin 1 Character Repertoire The minimum character repertoire supported by all conforming HTML user agentsisLatin Alphabet Nr. 1, or simply Latin-1. Latin-1 includes characters from most Western European languages, as well as a numberindented in some cases. Example ofcontrol characters. Latin-1 also includes a non-breaking space, a soft hyphen indicator, 93 graphical characters, 8 unassigned characters, and 25 control characters. NOTE - Useuse: <H1>This Heading Precedes thenon-breaking space and soft hyphen indicator charactersParagraph</H1> <P>This isdiscouraged because support for themthe text of the first paragraph. <P>This is the text of the second paragraph. Although you do notwidely deployed. NOTE - To support non-western writing systems,need to start paragraphs on new lines, maintaining this convention facilitates document maintenance.</P> <P>This is the text of alarger character repertoire will be specified inthird paragraph.</P> 5.5.2. Preformatted Text: PRE The <PRE> element represents afuture versioncharacter cell block ofHTML.text and is suitable for text that has been formatted for a monospaced font. Thedocument character set will<PRE> tag may beISO/IEC 10646-1, or some subset that agreesused withISO/IEC 10646-1; in particular, all numeric character references must use code positions assigned by ISO/IEC 10646-1. In SGML applications,theuse of control characters is limited in order to maximizeoptional WIDTH attribute. The WIDTH attribute specifies thechancemaximum number ofsuccessful interchange over heterogeneous networks and operating systems. In HTML, only three controlcharactersare allowed: Horizontal Tab (HT, encoded as 9 decimal in `US-ASCII'for a line and`ISO-8859-1'), Carriage Return,allows the HTML user agent to select a suitable font and indentation. Within preformatted text: * LineFeed. The HTML DTD referencesbreaks within theAdded Latin 1 entity set, to allow mnemonic representation of Latin 1 characters using only the widely supported ASCII character repertoire. For example: Kurt Gödel was a famous logician and mathematician. See 8.4.2, "ISO Latin 1 Character Entity Set" fortext are rendered as atable ofmove to the``Added Latin 1'' entities, and 11.1, "The ANSI/ISO 8859-1 Coded Character Set" for a tablebeginning of thecode positions of ANSI/ISO 8859-1. 6. Hyperlinks In additionnext line. NOTE - References togeneral purpose elements such as paragraphs and lists, HTML documents can express hyperlinks. A hyperlink is a relationship between two resources, calledthesource and the destination``beginning ofthe hyperlink. Each resource has a Uniform Resource Identifier (URI). An HTML user agent allows navigatingacollection of these resources. In the following interactions, the URI of the source document is called the base URI. 6.1. Accessing Resources Each ofnew line'' do not imply that thefollowing markup constructsrenderer isthe source offorbidden from using ahyperlink; these hyperlinks are references to resources toconstant left indent for rendering preformatted text. The left indent may beprocessed in conjunction withconstrained by thesource documents: * <IMG> elementswidth required. *<INPUT>Anchor elementswith the SRC attribute present * <LINK> element To access the destination of a hyperlink, the base URI of the source document is combined withand phrase markup may be used. NOTE - Constraints on thevalueprocessing ofthe HREF<PRE> content may may limit orSRC attributeprevent the ability of thehyperlink element according to [RELURL]. TheHTML user agentdisregards any fragment identifer, and uses the resulting URItoaccess the destination resource. For example, if a document identified as `http://host/x/y.html' contains: <img src="../icons/abc.gif"> then the user agent must use the URI `http://host/icons/abc.gif' to access the resource linked from the <IMG> element. 6.2. Traversing Hyperlinks An <A> element with the HREF attribute present is an anchor; that is, the source of a hyperlinkfaithfully render phrase markup. Berners-Lee, Connolly [Page 23] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 * Elements thatis an option to navigate to another resource. The <LINK> element may alsodefine paragraph formatting (headings, address, etc.) must not bean anchor. In addition to the base URI, the state of an HTML user agent includes a list of the anchorsused. NOTE - Some historical documents contain <P> tags inthe document. The user can traverse<PRE> elements. User agents are encouraged to treat this as ahyperlinkline break. A <P> tag followed bychoosing an anchor.a newline character should produce only one line break, not a line break plus a blank line. * Theuser agent then accesseshorizontal tab character (code position 9 in thedestinationHTML document character set) must be interpreted asabove and presents it. 6.2.1. Fragment Identifiers Ifthevaluesmallest positive nonzero number of spaces which will leave the<HREF> attributenumber ofan anchor element contains a `#' character, then thecharactersafterso far on the`#' areline as afragment identifier,multiple of 8. Documents should nota partcontain tab characters, as they are not supported consistently. Example ofthe destination URI. As a degenerate case, `HREF="#fragment"' refersuse: <PRE> Line 1. Line 2 is toan anchor in the same document:thesourceright of line 1. <a href="abc">abc</a> Line 3 aligns with line 2. <a href="def">def</a> </PRE> 5.5.2.1. Example anddestination URIs are the same. After accessing the destination resource, the navigation state (the scrollbar, for example) may be modified by a fragment identifer in the hyperlink source markup.Listing: XMP, LISTING Themeaning of fragment identifiers depends on the media type of the destination resource. For `text/html' resources, it instructs the user agent<XMP> and <LISTING> elements are similar tolocatethe<A> element with<PRE> element, but they have aNAME attribute whose valuedifferent syntax. Their content isthe samedeclared as CDATA, which means that no markup except thefragment identifier. The matchingend-tag open delimiter-in-context iscase sensitive. For example, ifrecognized (see 9.6 ``Delimiter Recognition'' of [SGML]). NOTE - In auser agent was processing the above document and the user indicated the following anchor: <p> See: <a href="app1.html#bannanas">appendix 1</a> for more detail on bannanas.</a> then the user agent URI must access the resource `http://host/x/app1.html'. Assuming the resource is represented using the `text/html' media type,previous draft of theuser agent must locateHTML specification, theanchor named `bannanas'syntax of <XMP> andbegin navigation there. The base URI for navigating the destination document may<LISTING> elements allowed closing tags to bedifferent fromtreated as data characters, as long as theURI usedtag name was not <XMP> or <LISTING>, respectively. Since CDATA declared content has a number of unfortunate interactions with processing techniques and tends toaccess it. For example, it maybereplaced by by a <BASE> tag inused and implemented inconsistently, HTML documents should not contain <XMP> nor <LISTING> elements -- thedestination document or by an HTTP redirection transaction. 6.3. Queries<PRE> tag is more expressive andIndexesmore consistently supported. The<ISINDEX><LISTING> elementrepresentsshould be rendered so that at least 132 characters fit on aset of hyperlinks.line. Theuser can choose from the set by providing keywords to the user agent. The user agent computes the destination URI by appending `?' and the keywords<XMP> element should be rendered so that at least 80 characters fit on a line but is otherwise identical to thebase URI. The keywords are escaped according to [URL] and joined by `+'. For example, if<LISTING> element. NOTE - In adocument contains: <BASE HREF="http://host/index"> <ISINDEX> andprevious draft, HTML included a <PLAINTEXT> element that is similar to theuser provides<LISTING> element, except that there is no closing tag: all characters after thekeywords `apple'Berners-Lee, Connolly [Page 24] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 <PLAINTEXT> start-tag are data. 5.5.3. Address: ADDRESS The <ADDRESS> element contains such information as address, signature and`berry', thenauthorship, often at theuser agent must accessbeginning or end of theresource `http://host/index?apple+berry'. <FORM> elements with `METHOD=GET' also represent setsbody ofhyperlinks. See 7.2.2, "Query Forms: METHOD=GET" for details. 6.4. Image Maps The ISMAP attribute in combination witha document. Typically, the<A><ADDRESS> element is rendered in an italic typeface and<IMG> elements, represents a setmay be indented. Example ofhyperlinks.use: <ADDRESS> Newsletter editor<BR> J.R. Brown<BR> JimquickPost News, Jimquick, CT 01234<BR> Tel (123) 456 7890 </ADDRESS> 5.5.4. Block Quote: BLOCKQUOTE Theuser can choose<BLOCKQUOTE> element contains text quoted fromthe set by choosinganother source. A typical rendering might be apixel of the image.slight extra left and right indent, and/or italic font. Theuser agent computes the destination URI by appending `?'<BLOCKQUOTE> typically provides space above and below thecoordinates of the pixel toquote. Single-font rendition may reflect theURI given in the <A> element. For example, if a document contains: <head><title>ImageMap Example</title> <BASE HREF="http://host/index"></head> <body> <p> Choose anyquotation style ofthese icons:<br> <a href="/cgi-bin/imagemap"><img ismap src="icons.gif"></a> and the user chooses the upper-leftmost pixel, then chosen hyperlink is the one with the URI `http://host/cgi-bin/image?0,0'. 7. Forms A form is a template forInternet mail by putting aform data set -- sequencevertical line ofname/value pair fields -- with an associated method and action URI. The names are specified ongraphic characters, such as theNAME attributesgreater than symbol (>), in the left margin. Example ofform input elements, anduse: I think thevalues are given bypoem ends <BLOCKQUOTE> <P>Soft you now, theuser. The resulting form data set is used to access an information service asfair Ophelia. Nymph, in thy orisons, be all my sins remembered. </BLOCKQUOTE> but I am not sure. 5.6. List Elements HTML includes afunctionnumber ofthe action and method. Forms elements canlist elements. They may bemixedused inwith document structuring elements. Forcombination; for example, a<PRE> element<OL> maycontainbe nested in an <LI> element of a<FORM> element, or<UL>. The COMPACT attribute suggests that a<FORM> element may contain lists which contain <INPUT> elements. This gives considerable flexibility in designing the layoutcompact rendering be used. Berners-Lee, Connolly [Page 25] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 5.6.1. Unordered List: UL, LI The <UL> represents a list offorms. Form processing isitems -- typically alevel 2 feature. 7.1. Form Elements 7.1.1. Form: <FORM>bulleted list. The<FORM>content of a <UL> elementcontainsis a sequence ofinput elements, along with document structuring<LI> elements. For example: <UL> <LI>First list item <LI>Second list item <p>second paragraph of second item <LI>Third list item </UL> 5.6.2. Ordered List: OL Theattributes are: ACTION specifies the action URI for the form.<OL> element represents an ordered list of items, sorted by sequence or order of importance. It is typically rendered as a numbered list. TheACTION attribute defaults to the base URIcontent ofthe document (see 6, "Hyperlinks"). METHOD selectsamethod<OL> element is a sequence ofaccessing the action URI. ENCTYPE specifies<LI> elements. For example: <OL> <LI>Click themedia type usedWeb button toencodeopen URI window. <LI>Enter thename/value pairs for transport,URI number incasetheprotocol does not itself impose a format. 7.1.2. Input Field: <INPUT> The <INPUT> element represents atext fieldfor user input. Attributes are: ALIGN vertical alignmentof theimage. For use only with `TYPE=IMAGE'.Open URI window. Thepossible values are as for the ALIGN attribute of the <IMG>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> 5.6.3. Directory List: DIR The <DIR> element(see 4.10, "Image: IMG"). CHECKED indicates that the initial state of a checkbox or radio buttonisselected. MAXLENGTH constrainssimilar to thenumber<UL> element. It represents a list of short items, typically up to 20 charactersthat can be entered intoeach. Items in atext input field. If the valuedirectory list may be arranged in columns, typically 24 characters wide. The content ofMAXLENGTHa <DIR> element isgreater the the valuea sequence of <LI> elements. Nested block elements are not allowed in theSIZE attribute, the field should scroll appropriately.content of <DIR> elements. For example: <DIR> <LI>A-H<LI>I-M <LI>M-R<LI>S-Z </DIR> Berners-Lee, Connolly [Page 26] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 5.6.4. Menu List: MENU Thedefault number<MENU> element is a list ofcharactersitems with typically one line per item. The menu list style isunlimited. NAME symbolic name fortypically more compact than theform field corresponding to thisstyle of an unordered list. The content of a <MENU> elementor groupis a sequence of <LI> elements.SIZE specifiesNested block elements are not allowed in theamountcontent ofdisplay space allocated to this input field according to its type. SRC A URI specifying an image resource.<MENU> elements. Foruse only with `TYPE=IMAGE'. TYPE indicates type ofexample: <MENU> <LI>First item in thefield. Defaults to `TEXT'. Values are: CHECKBOX an independent boolean value. HIDDEN a hidden field. The user does not interact with this field; instead,list. <LI>Second item in theVALUE attribute can be used to specifylist. <LI>Third item in the list. </MENU> 5.6.5. Definition List: DL, DT, DD A definition list is avalue. IMAGE specifies an image resource to display, and allows inputlist oftwo form data:terms and corresponding definitions. Definition lists are typically formatted with thexterm flush-left andy coordinatethe definition, formatted paragraph style, indented after the term. The content of apixel chosen from<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. Example of use: <DL> <DT>Term<DD>This is theimage. The namesdefinition of thedata arefirst term. <DT>Term<DD>This is thenamedefinition ofthis element 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. PASSWORD Similar totheTEXT attribute, except thatsecond term. </DL> If thevalue is obscured as it is entered. RADIO a 1-of-many choice. All <INPUT> elements with `TYPE=RADIO' andDT term does not fit in thesame NAME combine intoDT column (typically oneform field. The valuethird of theform field isdisplay area), it may be extended across theVALUE ofpage with theelement chosen byDD section moved to theuser. The initial statenext line, or it may beindicated withwrapped onto successive lines of theCHECKED attribute.left hand column. TheVALUE attribute is required for radio inputs. RESET an input option, typically a button, that instructs the user agent to reset the form's fields to their initial states. Any VALUEoptional COMPACT attributeindicates a label for the input (button). SUBMIT an input option, typically a button,suggests thatinstructs the user agent to submit the form. Any VALUE attribute indicatesalabel forcompact rendering be used, because theinput (button). Iflist items are small and/or theNAME attribute is present, this element contributes a form field whose valueentire list isgiven by the VALUE attribute. Iflarge. Unless theNAMECOMPACT attribute isnotpresent,this element does not contribute a form field. TEXT a single line text entry fields.an HTML user agent may leave white space between successive DT, DD pairs. TheSIZE and MAXLENGTH attributesCOMPACT attribute maybe used to constrainalso reduce theinput or layoutwidth of thefield. Use the <TEXTAREA> element for mulit-line text fields. VALUE The initial value ofleft-hand (DT) column. <DL COMPACT> <DT>Term<DD>This is thefield. 7.1.3. Selection: <SELECT> The <SELECT> element constrainsfirst definition in compact format. <DT>Term<DD>This is theform fieldsecond definition in compact format. </DL> Berners-Lee, Connolly [Page 27] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 5.7. Phrase Markup Phrases may be marked up according toan enumerated listidiomatic usage, typographic appearance, or for use as hyperlink anchors. User agents must render highlighted phrases distinctly from plain text. Additionally, <EM> content must be rendered as distinct from <STRONG> content, and <B> content must rendered as distinct from <I> content. Phrase elements may be nested within the content ofvalues. The values are given in <OPTION> elements. Attributes are: MULTIPLE indicates that more than one optionother phrase elements; however, HTML user agents may render nested phrase elements indistinctly from non-nested elements: plain <B>bold <I>italic</I></B> may be rendered the same as plain <B>bold </B><I>italic</I> 5.7.1. Idiomatic Elements Phrases may be marked up to indicate certain idioms. NOTE - User agents may support the <DFN> element, not included in this specification, as it has been deployed to some extent. It is used to indicate thevalue. NAME specifies the namedefining instance of a term, and it is typically rendered in italic or bold italic. 5.7.1.1. Citation: CITE The <CITE> element is used to indicate theform field. SIZE specifies the number of visible items. Select fieldstitle ofsize one are typically pop-down menus, whereas select fields with size greater than one area book or other citation. It is typicallylists.rendered as italics. For example:<SELECT NAME="flavor"> <OPTION>Vanilla <OPTION>Strawberry <OPTION>Rum and Raisin <OPTION>Peach and Orange </SELECT> The initial state has the first option selected, unless a SELECTED attribute is present on anyHe just couldn't get enough ofthe <OPTION> elements. 7.1.3.1. Option: <OPTION><cite>The Grapes of Wrath</cite>. 5.7.1.2. Code: CODE TheOption<CODE> elementcan only occur within a Select element. It represents one choice, and has the following attributes: SELECTED Indicates that this option is initially selected. VALUEindicatesthe value to be returned if this option is chosen. The field value defaults to the contentan example ofthe <OPTION> element.code, typically rendered in a mono-spaced font. Thecontent<CODE> element is intended for short words or phrases of code; the<OPTION><PRE> block structuring element (5.5.2, "Preformatted Text: PRE") ispresented to the user to represent the option. Itmore apropriate for multiple-line listings. For example: The expression <code>x += 1</code> isusedshort for <code>x = x + 1</code>. Berners-Lee, Connolly [Page 28] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 5.7.1.3. Emphasis: EM The <EM> element indicates an emphasized phrase, typically rendered as italics. For example: A singular subject <em>always</em> takes areturned value if the VALUE attribute is not present. 7.1.4. Text Area: <TEXTAREA>singular verb. 5.7.1.4. Keyboard: KBD The<TEXTAREA><KBD> elementrepresents a multi-lineindicates textfield.typed by a user, typically rendered in a mono-spaced font. This is commonly used in instruction manuals. For example:<TEXTAREA NAME="address" ROWS=64 COLS=6> HaL Computer Systems 1315 Dell Avenue Campbell, California 95008 </TEXTAREA> The content ofEnter <kbd>FIND IT</kbd> to search the<TEXTAREA>database. 5.7.1.5. Sample: SAMP The <SAMP> elementis the field's initial value. Typically, the ROWS and COLS attributes determine the visible dimensionindicates a sequence ofthe field in characters. The field isliteral characters, typically rendered in afixed-widthmono-spaced font.HTML user agents should allow text to extend beyond these limits by scrolling as needed. 7.2. Form Submission An HTML user agent begins processing a form by presenting the document withFor example: The only word containing thefieldsletters <samp>mt</samp> is dreamt. 5.7.1.6. Strong Emphasis: STRONG The <STRONG> element indicates strong emphasis, typically rendered intheir initial state.bold. For example: <strong>STOP</strong>, or I'll say "<strong>STOP</strong>" again!. 5.7.1.7. Variable: VAR Theuser is allowed<VAR> element indicates a placeholder variable, typically rendered as italic. For example: Type <SAMP>html-check <VAR>file</VAR> | more</SAMP> tomodify the fields, constrained by the field type etc. Whencheck <VAR>file</VAR> for markup errors. 5.7.2. Typographic Elements Typographic elements are used to specify the format of marked text. Typical renderings for idiomatic elements may vary between userindicates that the form should be submitted (usingagents. If asubmit button or image input), the form data setspecific rendering isprocessed accordingnecessary -- for example, when referring toits method, action URI and enctype. When there is only one single-line text input field inaform, the user agent should accept Enter in that fieldspecific text attribute as in ``The italic parts are mandatory'' -- arequesttypographic element can be used tosubmitensure that theform. 7.2.1. The `application/x-www-form-urlencoded' Media Type The default encoding for all forms is `application/x-www-form-urlencoded'. A form data setintended typography isrepresentedused where possible. NOTE - User agents may support some typographic elements Berners-Lee, Connolly [Page 29] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 not included in thismedia typespecification, asfollows: 1.they have been deployed to some extent. Theform field names<STRIKE> element indicates horizontal line through the characters, andvalues are escaped: space characterss 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 ofthecharacter. Line breaks, as in multi-line textfield values, are represented as CR LF pairs, i.e. `%0D0A'. 2.<U> element indicates an underline. 5.7.2.1. Bold: B Thefields 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<B> element indicates bold text. Where bold typography is unavailable, an alternative representation may beomitted. In particular, unselected radio buttons and checkboxes should not appear in the encoded data, but hidden fields with VALUE attributes present should. NOTE -used. 5.7.2.2. Italic: I TheURI from<I> element indicates italic text. Where italic typography is unavailable, an alternative representation may be used. 5.7.2.3. Teletype: TT The <TT> element indicates teletype (monospaced )text. Where aquery form submission canteletype font is unavailable, an alternative representation may beused inused. 5.7.3. Anchor: A The <A> element indicates anormalhyperlink anchorstyle hyperlink. Unfortunately,(see 7, "Hyperlinks"). At least one of theuseNAME and HREF attributes should be present. Attributes of the`&' character to separate form fields interacts with its use in SGML attribute values as an entity reference delimiter. For example,<A> element: HREF gives the URI`http://host/?x=1&y=2' must be written `<a href="http://host/?x=1&y=2"' or `<a href="http://host/?x=1&#amp;y=2">'. HTTP server implementors, and in particular, CGI implementors are encouraged to support the useof`;' in placethe head anchor of`&' to save usersa hyperlink. NAME gives thetroublename ofescaping `&' characters this way. 7.2.2. Query Forms: `METHOD=GET' Iftheprocessinganchor, and makes it available as a head of aform is idempotent (i.e. it has no lasting observable effecthyperlink. TITLE suggests a title for the destination resource -- advisory only. The TITLE attribute may be used: * for display prior to accessing the destination resource, for example, as a margin note or on a small box while thestate ofmouse is over theworld), thenanchor, or while theform method should be `GET'. Many database searches have no visible side-effects and make ideal applications of query forms. To process a form whose action URLdocument isan HTTP URLbeing loaded; * for resources that do not include a title, such as graphics, plain text andwhose method is `GET',Gopher menus, for use as a window title. REL The REL attribute gives theuser agent starts withrelationship(s) described by theaction URI and appendshyperlink. The value is a`?' andwhitespace separated list Berners-Lee, Connolly [Page 30] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 of relationship names. REV same as theform data set,REL attribute, but the semantics of the relationship are in`application/x-www-form-urlencoded' format as above. The user agent then traversesthe reverse direction. A link from A tothis URI justB with REL=``X'' expresses the same relationship asif it were ana link from B to A with REV=``X''. An anchor(see 6.2, "Traversing Hyperlinks"). NOTE - The URL encodingmayresult in vary long URIs, which cause some historical HTTP server implementations to exhibit defective behavior. Ashave both REL and REV attributes. URN specifies aresult, some HTML forms are written using `METHOD=POST' even though the form submission has no side-effects. 7.2.3. Forms with Side-Effects: `METHOD=POST' If the service associated withpreferred, more persistent identifier for theprocessing of a form has side effects (for example, modificationhead anchor ofa database or subscription to a service),themethod should be `POST'. To process a form whose action URL is an HTTP URLhyperlink. The syntax andwhose method is `POST',semantics of theuser agent conducts an HTTP POST transaction usingURN attribute are not yet specified. METHODS specifies methods to be used in accessing theaction URI, anddestination, as amessage bodywhitespace-separated list oftype `application/x-www-form-urlencoded' format as above.names. Theuser agent should displayset of applicable names is a function of theresponse fromscheme of theHTTP POST interaction justURI in the HREF attribute. For similar reasons asit would displayfor theresponse from an HTTP GET above. 7.2.4. Example Form Submission: Questionnaire Form ConsiderTITLE attribute, it may be useful to include thefollowing document: <title>Sample of HTML Form Submission</title> <H1>Sample Questionnaire</H1> <P>Please fill out this questionnaire: <FORM METHOD="POST" ACTION="http://www.w3.org/sample"> <P>Your name: <INPUT NAME="name" size="48"> <P>Male <INPUT NAME="gender" TYPE=RADIO VALUE="male"> <P>Female <INPUT NAME="gender" TYPE=RADIO VALUE="female"> <P>Numberinformation infamily: <INPUT NAME="family" TYPE=text> <P>Citiesadvance inwhich you maintainthe link. For example, the HTML user agent may chose aresidence: <UL> <LI>Kent <INPUT NAME="city" TYPE=checkbox VALUE="kent"> <LI>Miami <INPUT NAME="city" TYPE=checkbox VALUE="miami"> <LI>Other <TEXTAREA NAME="other" cols=48 rows=4></textarea> </UL> Nickname: <INPUT NAME="nickname" SIZE="42"> <P>Thank you for responding to this questionnaire. <P><INPUT TYPE=SUBMIT> <INPUT TYPE=RESET> </FORM> The inital statedifferent rendering as a function of theform data set is: name ``'' gender ``male'' family ``'' other ``'' nickname ``'' Notemethods allowed; for example, something thatthe radio input has an initial value, while the checkbox has none.is searchable may get a different icon. 5.8. Line Break: BR Theuser might edit the fields<BR> element specifies a line break between words (see 6, "Characters, Words, andrequest that the form be submitted. At that point, supposeParagraphs"). For example: <P> Pease porridge hot<BR> Pease porridge cold<BR> Pease porridge in thevalues are: name ``John Doe'' gender ``male'' family ``5'' city ``kent,miami'' other ``abc\ndef'' nickname ``J&D''pot<BR> Nine days old. 5.9. Horizontal Rule: HR The <HR> element is a divider between sections of text; typically a full width horizontal rule or equivalent graphic. For example: <HR> <ADDRESS>February 8, 1995, CERN</ADDRESS> </BODY> 5.10. Image: IMG The <IMG> element refers to an image or icon via a hyperlink (see 7.3, "Simultaneous Presentation of Image Resources"). HTML useragent then conductsagents may process the value of the ALT attribute as Berners-Lee, Connolly [Page 31] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 anHTTP POST transaction usingalternative to processing theURI `http://www.w3.org/sample'. The message body would be (ignoreimage resource indicated by thelinebreak): name=John+Doe&gender=male&family=5&city=kent%2Cmiami& other=abc%0D0Adef&nickname=J%26D 8. HTML Public Text 8.1.SRC attribute. NOTE - Some HTMLDTD Thisuser agents can process graphics linked via anchors, but not <IMG> graphics. If a graphic is essential, it should be referenced from an <A> element rather than an <IMG> element. If theDocument Type Definition forgraphic is not essential, then theHyperText Markup Language. <!-- html.dtd Document Type Definition for<IMG> element is appropriate. Attributes of theHyperText Markup Language (HTML DTD) $Id: html.dtd,v 1.25 1995/03/29 18:53:13 connolly Exp $ Author: Daniel W. Connolly <connolly@w3.org> See Also: html.decl, html-0.dtd, html-1.dtd http://info.cern.ch/hypertext/WWW/MarkUp/MarkUp.html --> <!ENTITY % HTML.Version "-//IETF//DTD HTML 2.0//EN" -- Typical usage: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> ... </html> -- > <!--============ Feature Test Entities ========================--> <!ENTITY % HTML.Recommended "IGNORE" -- Certain features<IMG> element: ALIGN alignment of thelanguage are necessary for compatibilityimage withwidespread usage, but they may compromiserespect to thestructural integritytext baseline. * `TOP' specifies that the top ofa document. This feature test entity enables a more prescriptive document type definitionthe image aligns with the tallest item on the line containing the image. * `MIDDLE' specifies thateliminates those features. --> <![ %HTML.Recommended [ <!ENTITY % HTML.Deprecated "IGNORE"> ]]> <!ENTITY % HTML.Deprecated "INCLUDE" -- Certain featuresthe center of thelanguage are necessary for compatibilityimage aligns withearlier versionsthe baseline of thespecification, but they tendline containing the image. * `BOTTOM' specifies that the bottom of the image aligns with the baseline of the line containing the image. ALT text tobe used an implemented inconsistently, and theiruseis deprecated. This feature test entity enables a document type definition that eliminates these features. --> <!ENTITY % HTML.Highlighting "INCLUDE" -- Use this feature test entityin place of the referenced image resource, for example due to processing constraints or user preference. ISMAP indicates an image map (see 7.6, "Image Maps"). SRC specifies the URI of the image resource. NOTE - In practice, the media types of image resources are limited tovalidate thatadocument uses no highlighting tags, which may be ignored on minimal implementations. --> <!ENTITY % HTML.Forms "INCLUDE" -- Use this feature test entity to validate that a document contains no forms, which mayfew raster graphic formats: typically `image/gif', `image/jpeg'. In particular, `text/html' resources are not intended to besupported in minimal implementations --> <!--============== Imported Names ==============================--> <!ENTITY % Content-Type "CDATA" -- meaning an internet media type (aka MIME content type,used asper RFC1521) --> <!ENTITY % HTTP-Method "GET | POST" --image resources. Examples of use: <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> Berners-Lee, Connolly [Page 32] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 6. Characters, Words, and Paragraphs An HTML user agent should present the body of an HTML document asper HTTP specification, in progress --> <!ENTITY % URI "CDATA" -- The term URI meansaCDATA attribute whose valuecollection of typeset paragraphs and preformatted text. Except for preformatted elements (<PRE>, <XMP>, <LISTING>, <TEXTAREA>), each block structuring element isa Uniform Resource Identifier,regarded asdefined by "Universal Resource Identifiers" by Tim Berners-Lee aka RFC 1630 Note that CDATA attributes are limiteda paragraph by taking theLITLEN capacity (1024data characters in its content and thecurrent versioncontent ofhtml.decl), so that URIs in HTML haveits descendant elements, concatenating them, and splitting the result into words, separated by space, tab, or record end characters (and perhaps hyphen characters). The sequence of words is typeset as abounded length. --> <!--========= DTD "Macros" =====================--> <!ENTITY % heading "H1|H2|H3|H4|H5|H6"> <!ENTITY % list " UL | OL | DIR | MENU " > <!--=======paragraph by breaking it into lines. 6.1. The HTML Document Charactermnemonic entities =================--> <!ENTITY % ISOlat1 PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML"> %ISOlat1; <!ENTITY amp CDATA "&" -- ampersand --> <!ENTITY gt CDATA ">" -- greater than --> <!ENTITY lt CDATA "<" -- less than --> <!ENTITY quot CDATA """ -- double quote --> <!--========= SGML Document Access (SDA) Parameter Entities =====--> <!-- HTML 2.0 contains SGML Document Access (SDA) fixed attributesSet The document character set specified insupport of easy transformation to the International Committee9.5, "SGML Declaration forAccessible Document Design (ICADD) DTD "-//EC-USA-CDA/ICADD//DTD ICADD22//EN". ICADD applications are designed to support usable access to structured informationHTML" must be supported byprint-impaired individuals through Braille, large print and voice synthesis. For more information on SDA & ICADD:HTML user agents. It includes the graphic characters of Latin Alphabet No. 1, or simply Latin-1. Latin-1 comprises 191 graphic characters, including the alphabets of most Western European languages. NOTE -ISO 12083:1993, Annex A.8, Facilities for Braille, large printUse the non-breaking space andcomputer voice - ICADD ListServ <ICADD%ASUACAD.BITNET@ARIZVM1.ccit.arizona.edu> - Usenet news group bit.listserv.easi - Recordingsoft hyphen indicator characters is discouraged because support for them is not widely deployed. NOTE - To support non-western writing systems, a larger character repertoire will be specified in a future version of HTML. The document character set will be [ISO-10646], or some subset that agrees with [ISO-10646]; in particular, all numeric character references must use code positions assigned by [ISO-10646]. In SGML applications, theBlind, +1 800 221 4792 --> <!ENTITY % SDAFORM "SDAFORM CDATA #FIXED" -- oneuse of control characters is limited in order toone mapping --> <!ENTITY % SDARULE "SDARULE CDATA #FIXED" -- context-sensitive mapping --> <!ENTITY % SDAPREF "SDAPREF CDATA #FIXED" -- generated text prefix --> <!ENTITY % SDASUFF "SDASUFF CDATA #FIXED" -- generated text suffix --> <!ENTITY % SDASUSP "SDASUSP NAME #FIXED" -- suspend transform process --> <!--========== Text Markup =====================--> <![ %HTML.Highlighting [ <!ENTITY % font " TT | B | I "> <!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | CITE "> <!ENTITY % text "#PCDATA | A | IMG | BR | %phrase | %font"> <!ELEMENT (%font;|%phrase) - - (%text)*> <!ATTLIST ( TT | CODE | SAMP | KBD | VAR ) %SDAFORM; "Lit" > <!ATTLIST ( B | STRONG ) %SDAFORM; "B" > <!ATTLIST ( I | EM | CITE ) %SDAFORM; "It" > <!-- <TT> Typewriter text --> <!-- <B> Bold text --> <!-- <I> Italic text --> <!-- <EM> Emphasized phrase --> <!-- <STRONG> Strong emphais --> <!-- <CODE> Source code phrase --> <!-- <SAMP> Sample text or characters --> <!-- <KBD> Keyboard phrase, e.g. user input --> <!-- <VAR> Variable phrase or substituable --> <!-- <CITE> Name or titlemaximize the chance ofcited work --> <!ENTITY % pre.content "#PCDATA | A | HR | BR | %font | %phrase"> ]]> <!ENTITY % text "#PCDATA | A | IMG | BR"> <!ELEMENT BR - O EMPTY> <!ATTLIST BR %SDAPREF; "&#RE;" > <!-- <BR>successful interchange over heterogeneous networks and operating systems. In the HTML document character set only three control characters are allowed: Horizontal Tab, Carriage Return, and Linebreak --> <!--========= Link Markup ======================--> <![ %HTML.Recommended [ <!ENTITY % linkName "ID"> ]]> <!ENTITY % linkName "CDATA"> <!ENTITY % linkType "NAME" --Feed (code positions 9, 13, and 10). The HTML DTD references the Added Latin 1 entity set, to allow mnemonic representation of selected Latin 1 characters using only the widely supported ASCII character repertoire. For example: Kurt Gödel was alistfamous logician and mathematician. See 9.7.2, "ISO Latin 1 Character Entity Set" for a table ofthese will be specified atthe ``Added Latin 1'' entities, and 13, "The HTML Coded Character Set" for alater date --> <!ENTITY % linkExtraAttributes "REL %linkType #IMPLIED REV %linkType #IMPLIED URN CDATA #IMPLIED TITLE CDATA #IMPLIED METHODS NAMES #IMPLIED "> <![ %HTML.Recommended [ <!ENTITY % A.content "(%text)*" -- <H1><a name="xxx">Heading</a></H1> is preferred to <a name="xxx"><H1>Heading</H1></a> --> ]]> <!ENTITY % A.content "(%heading|%text)*"> <!ELEMENT A -table of the code positions of [ISO 8859-1] and the control characters in the HTML document character set. Berners-Lee, Connolly [Page 33] INTERNET-DRAFT Hypertext Markup Language -%A.content -(A)> <!ATTLIST2.0 June 16, 1995 7. Hyperlinks In addition to general purpose elements such as paragraphs and lists, HTML documents can express hyperlinks. AHREF %URI #IMPLIED NAME %linkName #IMPLIED %linkExtraAttributes; %SDAPREF; "<Anchor: #AttList>" > <!-- <A> Anchor; source/destination of link --> <!-- <A NAME="..."> Namehyperlink is a relationship between two anchors, called the head and the tail ofthisthe hyperlink[DEXTER]. An anchor--> <!-- <A HREF="..."> Addressis a resource such as an HTML document, or some fragment of, i.e. view on or portion of a resource. Typically, the user activates a linkdestination --> <!-- <A URN="..."> Permanent address of destination --> <!-- <A REL=...> Relationship to destination --> <!-- <A REV=...> Relationshipby indicating the tail ofdestination to this --> <!-- <A TITLE="..."> Titlethe link; the head ofdestination (advisory) --> <!-- <A METHODS="..."> Operations on destination (advisory) --> <!--========== Images ==========================--> <!ELEMENT IMG - O EMPTY> <!ATTLIST IMG SRC %URI; #REQUIRED ALT CDATA #IMPLIED ALIGN (top|middle|bottom) #IMPLIED ISMAP (ISMAP) #IMPLIED %SDAPREF; "<Fig><?SDATrans Img: #AttList>#AttVal(Alt)</Fig>" > <!-- <IMG> Image; icon, glyphthe link is presented as a result. Anchors are addressed by Uniform Resource Identifiers (URI). URIs either refer directly to an anchor in absolute form for example as in [URL], orillustration --> <!-- <IMG SRC="..."> Address of image object --> <!-- <IMG ALT="..."> Textual alternative --> <!-- <IMG ALIGN=...> Positionthey refer to an anchor relative totext --> <!-- <IMG ISMAP>a base URI which is absolute, as in [RELURL]. Eachpixel can beof the following markup constructs indicates the tail anchor of alink --> <!--========== Paragraphs=======================--> <!ELEMENT P - O (%text)*> <!ATTLIST P %SDAFORM; "Para" > <!-- <P> Paragraph --> <!--========== Headings, Titles, Sections ===============--> <!ELEMENT HR - O EMPTY> <!ATTLIST HR %SDAPREF; "&#RE;&#RE;" > <!-- <HR> Horizontal rule --> <!ELEMENT ( %heading ) - - (%text;)*> <!ATTLIST H1 %SDAFORM; "H1" > <!ATTLIST H2 %SDAFORM; "H2" > <!ATTLIST H3 %SDAFORM; "H3" > <!ATTLIST H4 %SDAFORM; "H4" > <!ATTLIST H5 %SDAFORM; "H5" > <!ATTLIST H6 %SDAFORM; "H6" > <!-- <H1> Heading, level 1 --> <!-- <H2> Heading, level 2 --> <!-- <H3> Heading, level 3 --> <!-- <H4> Heading, level 4 --> <!-- <H5> Heading, level 5 --> <!-- <H6> Heading, level 6 --> <!--========== Text Flows ======================--> <![ %HTML.Forms [ <!ENTITY % block.forms "BLOCKQUOTE | FORM | ISINDEX"> ]]> <!ENTITY % block.forms "BLOCKQUOTE"> <![ %HTML.Deprecated [ <!ENTITY % preformatted "PRE | XMP | LISTING"> ]]> <!ENTITY % preformatted "PRE"> <!ENTITY % block "P | %list | DL | %preformatted | %block.forms"> <!ENTITY % flow "(%text|%block)*"> <!ENTITY % pre.content "#PCDATA | A | HR | BR"> <!ELEMENT PRE - - (%pre.content)*> <!ATTLIST PRE WIDTH NUMBER #implied %SDAFORM; "Lit" > <!-- <PRE> Preformatted text --> <!-- <PRE WIDTH=...> Maximum characters per line --> <![ %HTML.Deprecated [ <!ENTITY % literal "CDATA" -- historical, non-conforming parsing mode wherehyperlink or set of hyperlinks: * <A> elements with HREF present. * <LINK> elements. * <IMG> elements. * <INPUT> elements with theonly markup signalSRC attribute present. * <ISINDEX> elements. * <FORM> elements with `METHOD=GET'. 7.1. Accessing Resources To access the head anchor of a hyperlink, the user agent determines its URI from the URI given in the tail anchor, using the base URI of the document containing the tail anchor if necessary. Any fragment identifier is discarded, and theend tagresult is used to access a resource, for example as infull --> <!ELEMENT (XMP|LISTING) -[URL]. For example, if a document identified as `http://host/x/y.html' contains: <img src="../icons/abc.gif"> then the user agent must use the URI `http://host/icons/abc.gif' to access the resource linked from the <IMG> element. 7.2. Activation of Hyperlinks An HTML user agent allows the user to navigate the content of the document and request activation of <A> element hyperlinks. A request to activate a link is essentially a request to process the resource indicated by the head anchor of the link, for Berners-Lee, Connolly [Page 34] INTERNET-DRAFT Hypertext Markup Language -%literal> <!ATTLIST XMP %SDAFORM; "Lit" %SDAPREF; "Example:&#RE;" > <!ATTLIST LISTING %SDAFORM; "Lit" %SDAPREF; "Listing:&#RE;" > <!-- <XMP> Example section --> <!-- <LISTING> Computer listing --> <!ELEMENT PLAINTEXT - O %literal> <!-- <PLAINTEXT> Plain text passage --> <!ATTLIST PLAINTEXT %SDAFORM; "Lit" > ]]> <!--========== Lists ==================--> <!ELEMENT DL - - (DT | DD)+> <!ATTLIST DL COMPACT (COMPACT) #IMPLIED %SDAFORM; "List" %SDAPREF; "Definition List:" > <!ELEMENT DT - O (%text)*> <!ATTLIST DT %SDAFORM; "Term" > <!ELEMENT DD - O %flow> <!ATTLIST DD %SDAFORM; "LItem" > <!-- <DL> Definition list,2.0 June 16, 1995 example to display the indicated HTML document. HTML user agents should also allow activation of <LINK> element hyperlinks. The base URI for navigating the head anchor may be different from the URI used to access it. For example, it may be replaced by a <BASE> tag in the destination document orglossary --> <!-- <DL COMPACT> Compact style list --> <!-- <DT> Termby an HTTP redirection transaction. 7.3. Simultaneous Presentation of Image Resources An HTML user agent may activate hyperlinks indicated by <IMG> and <INPUT> elements concurrently with processing the document; that is, image hyperlinks may be processed without explicit request by the user. Image resources should be embedded indefinition list --> <!-- <DD> Definitionthe presentation at the point ofterm --> <!ELEMENT (OL|UL) - - (LI)+> <!ATTLIST OL COMPACT (COMPACT) #IMPLIED %SDAFORM; "List" > <!ATTLIST UL COMPACT (COMPACT) #IMPLIED %SDAFORM; "List" > <!-- <UL> Unordered list --> <!-- <UL COMPACT> Compact list style --> <!-- <OL> Ordered,the tail anchor, that is the <IMG> ornumbered list --> <!-- <OL COMPACT> Compact list style --> <!ELEMENT (DIR|MENU) - - (LI)+ -(%block)> <!ATTLIST DIR COMPACT (COMPACT) #IMPLIED %SDAFORM; "List" %SDAPREF; "<LHead>Directory</LHead>" > <!ATTLIST MENU COMPACT (COMPACT) #IMPLIED %SDAFORM; "List" %SDAPREF; "<LHead>Menu</LHead>" > <!-- <DIR> Directory list --> <!-- <DIR COMPACT> Compact list style --> <!-- <MENU> Menu list --> <!-- <MENU COMPACT> Compact list<INPUT> element. <LINK> hyperlinks may also be processed without explicit user request; for example, style--> <!ELEMENT LI - O %flow> <!ATTLIST LI %SDAFORM; "LItem" > <!-- <LI> List item --> <!--========== Document Body ===================--> <![ %HTML.Recommended [ <!ENTITY % body.content "(%heading|%block|HR|ADDRESS|IMG)*" -- <h1>Heading</h1> <p>Text ... is preferred to <h1>Heading</h1> Text ... --> ]]> <!ENTITY % body.content "(%heading | %text | %block | HR | ADDRESS)*"> <!ELEMENT BODY O O %body.content> <!-- <BODY> Document body --> <!ELEMENT BLOCKQUOTE - - %body.content> <!ATTLIST BLOCKQUOTE %SDAFORM; "BQ" > <!-- <BLOCKQUOTE> Quoted passage --> <!ELEMENT ADDRESS - - (%text|P)*> <!ATTLIST ADDRESS %SDAFORM; "Lit" %SDAPREF; "Address:&#RE;" > <!-- <ADDRESS> Address, signature, or byline --> <!--======= Forms ====================--> <![ %HTML.Forms [ <!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)> <!ATTLIST FORM ACTION %URI #IMPLIED METHOD (%HTTP-Method) GET ENCTYPE %Content-Type; "application/x-www-form-urlencoded" %SDAPREF; "<Para>Form:</Para>" %SDASUFF; "<Para>Form End.</Para>" > <!-- <FORM> Fill-outsheet resources may be processed before ordata-entry form --> <!-- <FORM ACTION="..."> Address for completed form --> <!-- <FORM METHOD=...> Methodduring the processing ofsubmitting form --> <!-- <FORM ENCTYPE="..."> Representationthe document. 7.4. Fragment Identifiers Any characters following a `#' character in a URI constitute a fragment identifier. As a degenerate case, a URI of the formdata --> <!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX | RADIO | SUBMIT | RESET | IMAGE | HIDDEN )"> <!ELEMENT INPUT - O EMPTY> <!ATTLIST INPUT TYPE %InputType TEXT NAME CDATA #IMPLIED VALUE CDATA #IMPLIED SRC %URI #IMPLIED CHECKED (CHECKED) #IMPLIED SIZE CDATA #IMPLIED MAXLENGTH NUMBER #IMPLIED ALIGN (top|middle|bottom) #IMPLIED %SDAPREF; "Input: " > <!-- <INPUT> Form input datum --> <!-- <INPUT TYPE=...> Type of input interaction --> <!-- <INPUT NAME=...> Name of form datum --> <!-- <INPUT VALUE="..."> Default/initial/selected value --> <!-- <INPUT SRC="..."> Address of image --> <!-- <INPUT CHECKED> Initial state is "on" --> <!-- <INPUT SIZE=...> Field size hint --> <!-- <INPUT MAXLENGTH=...> Data length maximum --> <!-- <INPUT ALIGN=...> Image alignment --> <!ELEMENT SELECT - - (OPTION+) -(INPUT|SELECT|TEXTAREA)> <!ATTLIST SELECT NAME CDATA #REQUIRED SIZE NUMBER #IMPLIED MULTIPLE (MULTIPLE) #IMPLIED %SDAFORM; "List" %SDAPREF; "<LHead>Select #AttVal(Multiple)</LHead>" > <!-- <SELECT> Selection`#fragment' refers to an anchor in the same document. The meaning ofoption(s) --> <!-- <SELECT NAME=...> Namefragment identifiers depends on the media type ofform datum --> <!-- <SELECT SIZE=...> Options displayed atthe resource containing the head anchor. For `text/html' resources, it refers to the <A> element with atime --> <!-- <SELECT MULTIPLE> Multiple selections allowed --> <!ELEMENT OPTION - O (#PCDATA)*> <!ATTLIST OPTION SELECTED (SELECTED) #IMPLIED VALUE CDATA #IMPLIED %SDAFORM; "LItem" %SDAPREF; "Option: #AttVal(Value) #AttVal(Selected)" > <!-- <OPTION> A selection option --> <!-- <OPTION SELECTED> Initial state --> <!-- <OPTION VALUE="..."> Form datumNAME attribute whose value is the same as the fragment identifier. The matching is case sensitive. The document should have exactly one such element. The user agent should indicate the anchor element, forthis option--> <!ELEMENT TEXTAREA - - (#PCDATA)* -(INPUT|SELECT|TEXTAREA)> <!ATTLIST TEXTAREA NAME CDATA #REQUIRED ROWS NUMBER #REQUIRED COLS NUMBER #REQUIRED %SDAFORM; "Para" %SDAPREF; "Input Text -- #AttVal(Name): " > <!-- <TEXTAREA> An area for text input --> <!-- <TEXTAREA NAME=...> Name of form datum --> <!-- <TEXTAREA ROWS=...> Height of area --> <!-- <TEXTAREA COLS=...> Width of area --> ]]> <!--======= Document Head ======================--> <![ %HTML.Recommended [ <!ENTITY % head.extra "META* & LINK*"> ]]> <!ENTITY % head.extra "NEXTID? & META* & LINK*"> <!ENTITY % head.content "TITLE & ISINDEX? & BASE? & (%head.extra)"> <!ELEMENT HEAD O O (%head.content)> <!-- <HEAD> Document head --> <!ELEMENT TITLE - - (#PCDATA)*> <!ATTLIST TITLE %SDAFORM; "Ti" > <!-- <TITLE> Title of document --> <!ELEMENT LINK - O EMPTY> <!ATTLIST LINK HREF %URI #REQUIRED %linkExtraAttributes; %SDAPREF; "Linked to : #AttVal (TITLE) (URN) (HREF)>" > <!-- <LINK> Link from this document --> <!-- <LINK HREF="..."> Address of link destination --> <!-- <LINK URN="..."> Lasting name of destination --> <!-- <LINK REL=...> Relationship to destination --> <!-- <LINK REV=...> Relationship of destinationexample by scrolling tothis --> <!-- <LINK TITLE="..."> Title of destination (advisory) --> <!-- <LINK METHODS="..."> Operations allowed (advisory) --> <!ELEMENT ISINDEX - O EMPTY> <!ATTLIST ISINDEX %SDAPREF; "<Para>[Document is indexed/searchable.]</Para>"> <!-- <ISINDEX> Document isand/or highlighting the phrase. For example, if a user agent was processing asearchable index --> <!ELEMENT BASE - O EMPTY> <!ATTLIST BASE HREF %URI; #REQUIRED > <!-- <BASE> Base contextdocument--> <!-- <BASE HREF="..."> Addressidentified as `http://host/x/y.html' and the user indicated the following anchor: <p> See: <a href="app1.html#bananas">appendix 1</a> forthis document --> <!ELEMENT NEXTID - O EMPTY> <!ATTLIST NEXTID N %linkName #REQUIRED > <!-- <NEXTID> Next ID to use for link name --> <!-- <NEXTID N=...> Next ID to use for link name --> <!ELEMENT META - O EMPTY> <!ATTLIST META HTTP-EQUIV NAME #IMPLIED NAME NAME #IMPLIED CONTENT CDATA #REQUIRED > <!-- <META> Generic Metainformation --> <!-- <META HTTP-EQUIV=...> HTTP response header name --> <!-- <META NAME=...> Metainformation name --> <!-- <META CONTENT="..."> Associated information --> <!--======= Document Structure =================--> <![ %HTML.Deprecated [ <!ENTITY % html.content "HEAD, BODY, PLAINTEXT?"> ]]> <!ENTITY % html.content "HEAD, BODY"> <!ELEMENT HTML O O (%html.content)> <!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'"> <!ATTLIST HTML %version.attr; %SDAFORM; "Book" > <!-- <HTML> HTML Document --> 8.2. SGML Declaration for HTML Thismore detail on bananas. then the user agent URI must access the resource `http://host/x/app1.html'. Assuming the resource is represented using theSGML Declaration for HyperText Markup Language (HTML) as used`text/html' media type, the user agent must locate the anchor named `bananas' and begin navigation there. 7.5. Queries and Indexes The <ISINDEX> element represents a set of hyperlinks. The user can choose from the set by providing keywords to theWorld Wide Web (WWW) application: <!SGML "ISO 8879:1986" -- SGML Declaration for HyperTextuser agent. Berners-Lee, Connolly [Page 35] INTERNET-DRAFT Hypertext Markup Language(HTML). -- CHARSET BASESET "ISO 646:1983//CHARSET International Reference Version (IRV)//ESC 2/5 4/0" DESCSET 0 9 UNUSED 9 2 9 11 2 UNUSED 13 1 13 14 18 UNUSED 32 95 32 127 1 UNUSED BASESET "ISO Registration Number 100//CHARSET ECMA-94 Right Part of Latin Alphabet Nr. 1//ESC 2/13 4/1" DESCSET 128 32 UNUSED 160 96 32 CAPACITY SGMLREF TOTALCAP 150000 GRPCAP 150000 ENTCAP 150000 SCOPE DOCUMENT SYNTAX SHUNCHAR CONTROLS 0 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 127 BASESET "ISO 646:1983//CHARSET International Reference Version (IRV)//ESC 2/5 4/0" DESCSET 0 128 0 FUNCTION RE 13 RS 10 SPACE 32 TAB SEPCHAR 9 NAMING LCNMSTRT "" UCNMSTRT "" LCNMCHAR ".-" UCNMCHAR ".-" NAMECASE GENERAL YES ENTITY NO DELIM GENERAL SGMLREF SHORTREF SGMLREF NAMES SGMLREF QUANTITY SGMLREF ATTSPLEN 2100 LITLEN 1024 NAMELEN 72 -- somewhat arbitrary; taken from internet line length conventions -- PILEN 1024 TAGLEN 2100 GRPGTCNT 150 GRPCNT 64 FEATURES MINIMIZE DATATAG NO OMITTAG YES RANK NO SHORTTAG YES LINK SIMPLE NO IMPLICIT NO EXPLICIT NO OTHER CONCUR NO SUBDOC NO FORMAL YES APPINFO "SDA" -- conforming SGML Document Access application -- > <!-- $Id: html.decl,v 1.15 1995/05/06 01:44:47 connolly Exp $ Author: Daniel W. Connolly <connolly@hal.com> See also: http://www.hal.com/%7Econnolly/html-spec http://info.cern.ch/hypertext/WWW/MarkUp/MarkUp.html --> 8.3. Sample SGML Open Entity Catalog for HTML- 2.0 June 16, 1995 TheSGML standard describes an ``entity manager'' asuser agent computes theportion or component of an SGML system that maps SGML entities intohead URI by appending `?' and theactual storage model (e.g.,keywords to thefile system).base URI. Thestandard itself does not definekeywords are escaped according to [URL] and joined by `+'. For example, if aparticular mapping methodology or notation. To assistdocument contains: <BASE HREF="http://host/index"> <ISINDEX> and theinteroperability among various SGML toolsuser provides the keywords `apple' andsystems,`berry', then theSGML Open consortium has passed a technical resolution that defines a formatuser agent must access the resource `http://host/index?apple+berry'. <FORM> elements with `METHOD=GET' also represent sets of hyperlinks. See 8.2.2, "Query Forms: METHOD=GET" for details. 7.6. Image Maps If the ISMAP attribute is present on anapplication- independent entity catalog that maps external identifiers and/or entity names to file names. Each entry in<IMG> element, thecatalog associates<IMG> element must be contained in an <A> element with an HREF present. This construct represents astorage object identifier (such asset of hyperlinks. The user can choose from the set by choosing afile name) with information aboutpixel of theexternal entity that appears inimage. The user agent computes theSGML document. In additionhead URI by appending `?' and the x and y coordinates of the pixel toentries that associate public identifiers, a catalog entry can associate an entity name with a storage object indentifier.the URI given in the <A> element. For example,the following are possible catalog entries: -- catalog: SGML Open style entity catalog for HTML -- -- $Id: catalog,v 1.2 1994/11/30 23:45:18 connolly Exp $ -- -- Ways to refer to Level 2: most general to most specific -- PUBLIC "-//IETF//DTD HTML//EN" html.dtd PUBLIC "-//IETF//DTD HTML 2.0//EN" html.dtd PUBLIC "-//IETF//DTD HTML Level 2//EN" html.dtd PUBLIC "-//IETF//DTD HTML 2.0 Level 2//EN" html.dtd -- Ways to refer to Level 1: most general to most specific -- PUBLIC "-//IETF//DTD HTML Level 1//EN" html-1.dtd PUBLIC "-//IETF//DTDif a document contains: <!DOCTYPE HTML2.0 Level 1//EN" html-1.dtd -- Ways to refer to Level 0: most general to most specific --PUBLIC "-//IETF//DTD HTMLLevel 0//EN" html-0.dtd PUBLIC "-//IETF//DTD HTML 2.0 Level 0//EN" html-0.dtd -- Ways to refer to Strict Level 2: most general to most specific -- PUBLIC "-//IETF//DTD HTML Strict//EN" html-s.dtd PUBLIC "-//IETF//DTD HTML 2.0 Strict//EN" html-s.dtd PUBLIC "-//IETF//DTD HTML Strict Level 2//EN" html-s.dtd PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 2//EN" html-s.dtd -- Ways to refer to Strict Level 1: most general to most specific -- PUBLIC "-//IETF//DTD HTML Strict Level 1//EN" html-1s.dtd PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 1//EN" html-1s.dtd -- Ways to refer to Strict Level 0: most general to most specific -- PUBLIC "-//IETF//DTD HTML Strict Level 0//EN" html-0s.dtd PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 0//EN" html-0s.dtd -- ISO latin 1 entity set for HTML -- PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML" ISOlat1.sgml 8.4. Character Entity Sets The HTML DTD defines the following entities. They represent particular graphic characters which have special meanings in places in the markup, or may not be part2.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> and thecharacter set available touser chooses thewriter. 8.4.1. Numeric and Special Graphic Entity Set The following table lists each ofupper-leftmost pixel, thecharacters included fromchosen hyperlink is theNumeric and Special Graphic entity set, alongone withits name, syntaxthe URI `http://host/cgi-bin/imagemap?0,0'. 8. Forms A form is a template foruse,a form data set anddescription. This list is derived from `ISO Standard 8879:1986//ENTITIES Numerican associated method andSpecial Graphic//EN'. However, HTML does not include for the entire entityaction URI. A form data set-- only the entities listed below are included. GLYPHis a sequence of name/value pair fields. The names are specified on the NAMESYNTAX DESCRIPTION < lt < Less than sign > gt > Greater than sign & amp & Ampersand " quot " Double quote sign 8.4.2. ISO Latin 1 Character Entity Setattributes of form input elements, and the values are given initial values by various forms of markup and edited by the user. Thefollowing public text lists eachresulting form data set is used to access an information service as a function of thecharacters specifiedaction and method. Forms elements can be mixed inthe Added Latin 1 entity set, alongwithits name, syntax for use, and description.document structuring elements. For example, a <PRE> element may contain a <FORM> element, or a <FORM> element may contain lists which contain <INPUT> elements. Thislistgives considerable flexibility in designing the layout of forms. Form processing isderived from ISO Standard 8879:1986//ENTITIES Added Latin 1//EN. HTML includesa level 2 feature. Berners-Lee, Connolly [Page 36] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 8.1. Form Elements 8.1.1. Form: FORM The <FORM> element contains a sequence of input elements, along with document structuring elements. The attributes are: ACTION specifies theentire entity set. <!-- (C) International Organizationaction URI forStandardization 1986 Permission to copy in anythe form. The action URI of a form defaults to the base URI of the document (see 7, "Hyperlinks"). METHOD selects a method of accessing the action URI. The set of applicable methods isgranted for use with conforming SGML systems and applications as defined in ISO 8879, provided this notice is included in all copies. --> <!-- Character entity set. Typical invocation: <!ENTITY % ISOlat1 PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML"> %ISOlat1; --> <!-- Modifieda function of the scheme of the action URI of the form. See 8.2.2, "Query Forms: METHOD=GET" and 8.2.3, "Forms with Side-Effects: METHOD=POST". ENCTYPE specifies the media type used to encode the name/value pairs forusetransport, inHTML $Id: ISOlat1.sgml,v 1.2 1994/11/30 23:45:12 connolly Exp $ --> <!ENTITY AElig CDATA "Æ" -- capital AE diphthong (ligature) --> <!ENTITY Aacute CDATA "Á" -- capital A, acute accent --> <!ENTITY Acirc CDATA "Â" -- capital A, circumflex accent --> <!ENTITY Agrave CDATA "À" -- capital A, grave accent --> <!ENTITY Aring CDATA "Å" -- capital A, ring --> <!ENTITY Atilde CDATA "Ã" -- capital A, tilde --> <!ENTITY Auml CDATA "Ä" -- capital A, dieresis or umlaut mark --> <!ENTITY Ccedil CDATA "Ç" -- capital C, cedilla --> <!ENTITY ETH CDATA "Ð" -- capital Eth, Icelandic --> <!ENTITY Eacute CDATA "É" -- capital E, acute accent --> <!ENTITY Ecirc CDATA "Ê" -- capital E, circumflex accent --> <!ENTITY Egrave CDATA "È" -- capital E, grave accent --> <!ENTITY Euml CDATA "Ë" -- capital E, dieresis or umlaut mark --> <!ENTITY Iacute CDATA "Í" -- capital I, acute accent --> <!ENTITY Icirc CDATA "Î" -- capital I, circumflex accent --> <!ENTITY Igrave CDATA "Ì" -- capital I, grave accent --> <!ENTITY Iuml CDATA "Ï" -- capital I, dieresis or umlaut mark --> <!ENTITY Ntilde CDATA "Ñ" -- capital N, tilde --> <!ENTITY Oacute CDATA "Ó" -- capital O, acute accentcase the protocol does not itself impose a format. See 8.2.1, "The form-urlencoded Media Type". 8.1.2. Input Field: INPUT The <INPUT> element represents a field for user input. The TYPE attribute discriminates between several variations of fields. The <INPUT> element has a number of attributes. The set of applicable attributes depends on the value of the TYPE attribute. 8.1.2.1. Text Field: INPUT TYPE=TEXT The default vaule of the TYPE attribute is `TEXT', indicating a single line text entry fields. (Use the <TEXTAREA> element for multi-line text fields.) Required attributes are: NAME name for the form field corresponding to this element. The optional attriubtes are: MAXLENGTH constrains the number of characters that can be entered Berners-Lee, Connolly [Page 37] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 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. SIZE specifies the amount of display space allocated to this input field according to its type. The default depends on the user agent. VALUE The initial value of the field. For example: <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> 8.1.2.2. Password Field: INPUT TYPE=PASSWORD An <INPUT> element with `TYPE=PASSWORD' is a text field as above, except that the value is obscured as it is entered. (see also: 10, "Security Considerations"). For example: <p>Name: <input name=login> Password: <input type=password name=passwd> 8.1.2.3. Check Box: INPUT TYPE=CHECKBOX An <INPUT> element with `TYPE=CHECKBOX' represents a boolean choice. A set of such elements with the same name represents an n-of-many choice field. Required attributes are: NAME symbolic name for the form field corresponding to this element or group of elements. VALUE The portion of the value of the field contributed by this element. Optional attributes are: CHECKED indicates that the initial state is on. For example: Berners-Lee, Connolly [Page 38] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 <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> 8.1.2.4. Radio Button: INPUT TYPE=RADIO An <INPUT> element with `TYPE=RADIO' represents a boolean choice. A set of such elements with the same name represents a 1-of-many choice field. The NAME and VALUE attributes are required as for check boxes. Optional attributes are: CHECKED indicates that the initial state is on. At all times, exactly one of the radio buttons in a set is checked. If none of the <INPUT> elements of a set of radio buttons specifies `CHECKED', then the user agent must check the first radio button of the set initially. For example: <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> 8.1.2.5. Image Pixel: INPUT TYPE=IMAGE An <INPUT> element with `TYPE=IMAGE' 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. The NAME attribute is required as for other input fields. The SRC attribute is required and the ALIGN is optional as for the <IMG> element (see 5.10, "Image: IMG"). For example: <p>Choose a point on the map: <input type=image name=point src="map.gif"> 8.1.2.6. Hidden Field: INPUT TYPE=HIDDEN An <INPUT> element with `TYPE=HIDDEN' 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. Berners-Lee, Connolly [Page 39] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 For example: <input type=hidden name=context value="l2k3j4l2k3j4l2k3j4lk23"> 8.1.2.7. Submit Button: INPUT TYPE=SUBMIT An <INPUT> element with `TYPE=SUBMIT' represents an input option, typically a button, that instructs the user agent to submit the form. Optional attributes are: NAME indicates that this element contributes a form field whose value is given by the VALUE attribute. If the NAME attribute is not present, this element does not contribute a form field. VALUE indicates a label for the input (button). You may submit this request internally: <input type=submit name=recipient value=internal><br> or to the external world: <input type=submit name=recipient value=world> 8.1.2.8. Reset Button: INPUT TYPE=RESET An <INPUT> element with `TYPE=RESET' 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). When you are finished, you may submit this request: <input type=submit><br> You may clear the form and start over at any time: <input type=reset> 8.1.3. Selection: SELECT The <SELECT> element constrains the form field to an enumerated list of values. The values are given in <OPTION> elements. Attributes are: MULTIPLE indicates that more than one option may be included in the value. NAME specifies the name of the form field. SIZE specifies the number of visible items. Select fields of Berners-Lee, Connolly [Page 40] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 size one are typically pop-down menus, whereas select fields with size greater than one are typically lists. For example: <SELECT NAME="flavor"> <OPTION>Vanilla <OPTION>Strawberry <OPTION value="RumRasin">Rum and Raisin <OPTION selected>Peach and Orange </SELECT> The initial state has the first option selected, unless a SELECTED attribute is present on any of the <OPTION> elements. 8.1.3.1. Option: OPTION The Option element can only occur within a Select element. It represents one choice, and has the following attributes: SELECTED Indicates that this option is initially selected. VALUE indicates the value to be returned if this option is chosen. The field value defaults to the content of the <OPTION> element. The content of the <OPTION> element is presented to the user to represent the option. It is used as a returned value if the VALUE attribute is not present. 8.1.4. Text Area: TEXTAREA The <TEXTAREA> element represents a multi-line text field. Attributes are: COLS the number of visible columns to display for the text area, in characters. NAME Specifies the name of the form field. ROWS The number of visible rows to display for the text area, in characters. For example: Berners-Lee, Connolly [Page 41] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 <TEXTAREA NAME="address" ROWS=6 COLS=64> HaL Computer Systems 1315 Dell Avenue Campbell, California 95008 </TEXTAREA> The content of the <TEXTAREA> element is the field's initial value. Typically, the ROWS and COLS attributes determine the visible dimension of the field in characters. The field is typically rendered in a fixed-width font. HTML user agents should allow text to extend beyond these limits by scrolling as needed. 8.2. Form Submission An HTML user agent begins processing a form by presenting the document with the fields in their initial state. The user is allowed to modify the fields, constrained by the field type etc. When the user indicates that the form should be submitted (using a submit button or image input), the form data set is processed according to its method, action URI and enctype. When there is only one single-line text input field in a form, the user agent should accept Enter in that field as a request to submit the form. 8.2.1. The form-urlencoded Media Type The default encoding for all forms is `application/x-www-form-urlencoded'. A form data set is represented in this media type as follows: 1. 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'. 2. 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. NOTE - The URI from a query form submission can be used in a normal anchor style hyperlink. Unfortunately, the use of the `&' character to Berners-Lee, Connolly [Page 42] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 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&y=2"' or `<a href="http://host/?x=1&#amp;y=2">'. 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. 8.2.2. Query Forms: METHOD=GET If the processing of a form is idempotent (i.e. it has no lasting observable effect on the state of the world), then the form method should be `GET'. Many database searches have no visible side-effects and make ideal applications of query forms. To process a form whose action URL is an HTTP URL and whose method is `GET', the user agent starts with the action URI and appends a `?' and the form data set, in `application/x-www-form-urlencoded' format as above. The user agent then traverses the link to this URI just as if it were an anchor (see 7.2, "Activation of Hyperlinks"). NOTE - The URL encoding may result in very long URIs, which cause some historical HTTP server implementations to exhibit defective behavior. As a result, some HTML forms are written using `METHOD=POST' even though the form submission has no side-effects. 8.2.3. Forms with Side-Effects: METHOD=POST If the service associated with the processing of a form has side effects (for example, modification of a database or subscription to a service), the method should be `POST'. To process a form whose action URL is an HTTP URL and whose method is `POST', the user agent conducts an HTTP POST transaction using the action URI, and a message body of type `application/x-www-form-urlencoded' format as above. The user agent should display the response from the HTTP POST interaction just as it would display the response from an HTTP GET above. 8.2.4. Example Form Submission: Questionnaire Form Consider the following document: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <title>Sample of HTML Form Submission</title> <H1>Sample Questionnaire</H1> Berners-Lee, Connolly [Page 43] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 <P>Please fill out this questionnaire: <FORM METHOD="POST" ACTION="http://www.w3.org/sample"> <P>Your name: <INPUT NAME="name" size="48"> <P>Male <INPUT NAME="gender" TYPE=RADIO VALUE="male"> <P>Female <INPUT NAME="gender" TYPE=RADIO VALUE="female"> <P>Number in family: <INPUT NAME="family" TYPE=text> <P>Cities in which you maintain a residence: <UL> <LI>Kent <INPUT NAME="city" TYPE=checkbox VALUE="kent"> <LI>Miami <INPUT NAME="city" TYPE=checkbox VALUE="miami"> <LI>Other <TEXTAREA NAME="other" cols=48 rows=4></textarea> </UL> Nickname: <INPUT NAME="nickname" SIZE="42"> <P>Thank you for responding to this questionnaire. <P><INPUT TYPE=SUBMIT> <INPUT TYPE=RESET> </FORM> The initial state of the form data set is: name ``'' gender ``male'' family ``'' other ``'' nickname ``'' Note that the radio input has an initial value, while the checkbox has none. The user might edit the fields and request that the form be submitted. At that point, suppose the values are: name ``John Doe'' gender ``male'' family ``5'' city ``kent,miami'' other ``abc\ndef'' Berners-Lee, Connolly [Page 44] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 nickname ``J&D'' The user agent then conducts an HTTP POST transaction using the URI `http://www.w3.org/sample'. The message body would be (ignore the line break): name=John+Doe&gender=male&family=5&city=kent%2Cmiami& other=abc%0D%0Adef&nickname=J%26D 9. HTML Public Text 9.1. HTML DTD This is the Document Type Definition for the HyperText Markup Language, level 2. <!-- html.dtd Document Type Definition for the HyperText Markup Language (HTML DTD) $Id: html.dtd,v 1.28 1995/06/16 18:54:22 connolly Exp $ Author: Daniel W. Connolly <connolly@w3.org> See Also: html.decl, html-1.dtd http://www.w3.org/hypertext/WWW/MarkUp/MarkUp.html - --> <!ENTITY % HTML.Version "-//IETF//DTD HTML 2.0//EN" -- Typical usage: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> ... </html> -- > <!--============ Feature Test Entities ========================--> <!ENTITY % HTML.Recommended "IGNORE" -- Certain features of the language are necessary for compatibility with widespread usage, but they may compromise the structural integrity of a document. This feature test entity enables a more prescriptive document type definition that eliminates those features. Berners-Lee, Connolly [Page 45] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 --> <![ %HTML.Recommended [ <!ENTITY % HTML.Deprecated "IGNORE"> ]]> <!ENTITY % HTML.Deprecated "INCLUDE" -- Certain features of the language are necessary for compatibility with earlier versions of the specification, but they tend to be used an implemented inconsistently, and their use is deprecated. This feature test entity enables a document type definition that eliminates these features. --> <!ENTITY % HTML.Highlighting "INCLUDE" -- Use this feature test entity to validate that a document uses no highlighting tags, which may be ignored on minimal implementations. --> <!ENTITY % HTML.Forms "INCLUDE" -- Use this feature test entity to validate that a document contains no forms, which may not be supported in minimal implementations --> <!--============== Imported Names ==============================--> <!ENTITY % Content-Type "CDATA" -- meaning an internet media type (aka MIME content type, as per RFC1521) --> <!ENTITY % HTTP-Method "GET | POST" -- as per HTTP specification, in progress --> <!ENTITY % URI "CDATA" -- The term URI means a CDATA attribute whose value is a Uniform Resource Identifier, as defined by "Universal Resource Identifiers" by Tim Berners-Lee aka RFC 1630 Note that CDATA attributes are limited by the LITLEN capacity (1024 in the current version of html.decl), so that URIs in HTML have a bounded length. --> <!--========= DTD "Macros" =====================--> Berners-Lee, Connolly [Page 46] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 <!ENTITY % heading "H1|H2|H3|H4|H5|H6"> <!ENTITY % list " UL | OL | DIR | MENU " > <!--======= Character mnemonic entities =================--> <!ENTITY % ISOlat1 PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML"> %ISOlat1; <!ENTITY amp CDATA "&" -- ampersand --> <!ENTITY gt CDATA ">" -- greater than --> <!ENTITY lt CDATA "<" -- less than --> <!ENTITY quot CDATA """ -- double quote --> <!--========= SGML Document Access (SDA) Parameter Entities =====--> <!-- 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". 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: - ISO 12083:1993, Annex A.8, Facilities for Braille, large print and computer voice - ICADD ListServ <ICADD%ASUACAD.BITNET@ARIZVM1.ccit.arizona.edu> - Usenet news group bit.listserv.easi - Recording for the Blind, +1 800 221 4792 - --> <!ENTITY % SDAFORM "SDAFORM CDATA #FIXED" -- one to one mapping --> <!ENTITY % SDARULE "SDARULE CDATA #FIXED" -- context-sensitive mapping --> <!ENTITY % SDAPREF "SDAPREF CDATA #FIXED" -- generated text prefix --> <!ENTITY % SDASUFF "SDASUFF CDATA #FIXED" -- generated text suffix --> <!ENTITY % SDASUSP "SDASUSP NAME #FIXED" -- suspend transform process --> <!--========== Text Markup =====================--> <![ %HTML.Highlighting [ <!ENTITY % font " TT | B | I "> <!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | CITE "> Berners-Lee, Connolly [Page 47] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 <!ENTITY % text "#PCDATA | A | IMG | BR | %phrase | %font"> <!ELEMENT (%font;|%phrase) - - (%text)*> <!ATTLIST ( TT | CODE | SAMP | KBD | VAR ) %SDAFORM; "Lit" > <!ATTLIST ( B | STRONG ) %SDAFORM; "B" > <!ATTLIST ( I | EM | CITE ) %SDAFORM; "It" > <!-- <TT> Typewriter text --> <!-- <B> Bold text --> <!-- <I> Italic text --> <!-- <EM> Emphasized phrase --> <!-- <STRONG> Strong emphais --> <!-- <CODE> Source code phrase --> <!-- <SAMP> Sample text or characters --> <!-- <KBD> Keyboard phrase, e.g. user input --> <!-- <VAR> Variable phrase or substituable --> <!-- <CITE> Name or title of cited work --> <!ENTITY % pre.content "#PCDATA | A | HR | BR | %font | %phrase"> ]]> <!ENTITY % text "#PCDATA | A | IMG | BR"> <!ELEMENT BR - O EMPTY> <!ATTLIST BR %SDAPREF; "&#RE;" > <!-- <BR> Line break --> <!--========= Link Markup ======================--> <!ENTITY % linkType "NAME"> <!ENTITY % linkExtraAttributes "REL %linkType #IMPLIED REV %linkType #IMPLIED URN CDATA #IMPLIED TITLE CDATA #IMPLIED METHODS NAMES #IMPLIED "> <![ %HTML.Recommended [ <!ENTITY % A.content "(%text)*" Berners-Lee, Connolly [Page 48] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 -- <H1><a name="xxx">Heading</a></H1> is preferred to <a name="xxx"><H1>Heading</H1></a> --> ]]> <!ENTITY % A.content "(%heading|%text)*"> <!ELEMENT A - - %A.content -(A)> <!ATTLIST A HREF %URI #IMPLIED NAME CDATA #IMPLIED %linkExtraAttributes; %SDAPREF; "<Anchor: #AttList>" > <!-- <A> Anchor; source/destination of link --> <!-- <A NAME="..."> Name of this anchor --> <!-- <A HREF="..."> Address of link destination --> <!-- <A URN="..."> Permanent address of destination --> <!-- <A REL=...> Relationship to destination --> <!-- <A REV=...> Relationship of destination to this --> <!-- <A TITLE="..."> Title of destination (advisory) --> <!-- <A METHODS="..."> Operations on destination (advisory) --> <!--========== Images ==========================--> <!ELEMENT IMG - O EMPTY> <!ATTLIST IMG SRC %URI; #REQUIRED ALT CDATA #IMPLIED ALIGN (top|middle|bottom) #IMPLIED ISMAP (ISMAP) #IMPLIED %SDAPREF; "<Fig><?SDATrans Img: #AttList>#AttVal(Alt)</Fig>" > <!-- <IMG> Image; icon, glyph or illustration --> <!-- <IMG SRC="..."> Address of image object --> <!-- <IMG ALT="..."> Textual alternative --> <!-- <IMG ALIGN=...> Position relative to text --> <!-- <IMG ISMAP> Each pixel can be a link --> <!--========== Paragraphs=======================--> <!ELEMENT P - O (%text)*> <!ATTLIST P %SDAFORM; "Para" > <!-- <P> Paragraph --> <!--========== Headings, Titles, Sections ===============--> Berners-Lee, Connolly [Page 49] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 <!ELEMENT HR - O EMPTY> <!ATTLIST HR %SDAPREF; "&#RE;&#RE;" > <!-- <HR> Horizontal rule --> <!ELEMENT ( %heading ) - - (%text;)*> <!ATTLIST H1 %SDAFORM; "H1" > <!ATTLIST H2 %SDAFORM; "H2" > <!ATTLIST H3 %SDAFORM; "H3" > <!ATTLIST H4 %SDAFORM; "H4" > <!ATTLIST H5 %SDAFORM; "H5" > <!ATTLIST H6 %SDAFORM; "H6" > <!-- <H1> Heading, level 1 --> <!-- <H2> Heading, level 2 --> <!-- <H3> Heading, level 3 --> <!-- <H4> Heading, level 4 --> <!-- <H5> Heading, level 5 --> <!-- <H6> Heading, level 6 --> <!--========== Text Flows ======================--> <![ %HTML.Forms [ <!ENTITY % block.forms "BLOCKQUOTE | FORM | ISINDEX"> ]]> <!ENTITY % block.forms "BLOCKQUOTE"> <![ %HTML.Deprecated [ <!ENTITY % preformatted "PRE | XMP | LISTING"> ]]> <!ENTITY % preformatted "PRE"> <!ENTITY % block "P | %list | DL | %preformatted | %block.forms"> <!ENTITY % flow "(%text|%block)*"> Berners-Lee, Connolly [Page 50] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 <!ENTITY % pre.content "#PCDATA | A | HR | BR"> <!ELEMENT PRE - - (%pre.content)*> <!ATTLIST PRE WIDTH NUMBER #implied %SDAFORM; "Lit" > <!-- <PRE> Preformatted text --> <!-- <PRE WIDTH=...> Maximum characters per line --> <![ %HTML.Deprecated [ <!ENTITY % literal "CDATA" -- historical, non-conforming parsing mode where the only markup signal is the end tag in full --> <!ELEMENT (XMP|LISTING) - - %literal> <!ATTLIST XMP %SDAFORM; "Lit" %SDAPREF; "Example:&#RE;" > <!ATTLIST LISTING %SDAFORM; "Lit" %SDAPREF; "Listing:&#RE;" > <!-- <XMP> Example section --> <!-- <LISTING> Computer listing --> <!ELEMENT PLAINTEXT - O %literal> <!-- <PLAINTEXT> Plain text passage --> <!ATTLIST PLAINTEXT %SDAFORM; "Lit" > ]]> <!--========== Lists ==================--> <!ELEMENT DL - - (DT | DD)+> <!ATTLIST DL COMPACT (COMPACT) #IMPLIED %SDAFORM; "List" %SDAPREF; "Definition List:" > <!ELEMENT DT - O (%text)*> <!ATTLIST DT %SDAFORM; "Term" > Berners-Lee, Connolly [Page 51] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 <!ELEMENT DD - O %flow> <!ATTLIST DD %SDAFORM; "LItem" > <!-- <DL> Definition list, or glossary --> <!-- <DL COMPACT> Compact style list --> <!-- <DT> Term in definition list --> <!-- <DD> Definition of term --> <!ELEMENT (OL|UL) - - (LI)+> <!ATTLIST OL COMPACT (COMPACT) #IMPLIED %SDAFORM; "List" > <!ATTLIST UL COMPACT (COMPACT) #IMPLIED %SDAFORM; "List" > <!-- <UL> Unordered list --> <!-- <UL COMPACT> Compact list style --> <!-- <OL> Ordered, or numbered list --> <!-- <OL COMPACT> Compact list style --> <!ELEMENT (DIR|MENU) - - (LI)+ -(%block)> <!ATTLIST DIR COMPACT (COMPACT) #IMPLIED %SDAFORM; "List" %SDAPREF; "<LHead>Directory</LHead>" > <!ATTLIST MENU COMPACT (COMPACT) #IMPLIED %SDAFORM; "List" %SDAPREF; "<LHead>Menu</LHead>" > <!-- <DIR> Directory list --> <!-- <DIR COMPACT> Compact list style --> <!-- <MENU> Menu list --> <!-- <MENU COMPACT> Compact list style --> <!ELEMENT LI - O %flow> <!ATTLIST LI %SDAFORM; "LItem" > <!-- <LI> List item --> <!--========== Document Body ===================--> <![ %HTML.Recommended [ <!ENTITY % body.content "(%heading|%block|HR|ADDRESS|IMG)*" Berners-Lee, Connolly [Page 52] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 -- <h1>Heading</h1> <p>Text ... is preferred to <h1>Heading</h1> Text ... --> ]]> <!ENTITY % body.content "(%heading | %text | %block | HR | ADDRESS)*"> <!ELEMENT BODY O O %body.content> <!-- <BODY> Document body --> <!ELEMENT BLOCKQUOTE - - %body.content> <!ATTLIST BLOCKQUOTE %SDAFORM; "BQ" > <!-- <BLOCKQUOTE> Quoted passage --> <!ELEMENT ADDRESS - - (%text|P)*> <!ATTLIST ADDRESS %SDAFORM; "Lit" %SDAPREF; "Address:&#RE;" > <!-- <ADDRESS> Address, signature, or byline --> <!--======= Forms ====================--> <![ %HTML.Forms [ <!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)> <!ATTLIST FORM ACTION %URI #IMPLIED METHOD (%HTTP-Method) GET ENCTYPE %Content-Type; "application/x-www-form-urlencoded" %SDAPREF; "<Para>Form:</Para>" %SDASUFF; "<Para>Form End.</Para>" > <!-- <FORM> Fill-out or data-entry form --> <!-- <FORM ACTION="..."> Address for completed form --> <!-- <FORM METHOD=...> Method of submitting form --> <!-- <FORM ENCTYPE="..."> Representation of form data --> <!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX | RADIO | SUBMIT | RESET | IMAGE | HIDDEN )"> <!ELEMENT INPUT - O EMPTY> <!ATTLIST INPUT Berners-Lee, Connolly [Page 53] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 TYPE %InputType TEXT NAME CDATA #IMPLIED VALUE CDATA #IMPLIED SRC %URI #IMPLIED CHECKED (CHECKED) #IMPLIED SIZE CDATA #IMPLIED MAXLENGTH NUMBER #IMPLIED ALIGN (top|middle|bottom) #IMPLIED %SDAPREF; "Input: " > <!-- <INPUT> Form input datum --><!ENTITY Ocirc<!-- <INPUT TYPE=...> Type of input interaction --> <!-- <INPUT NAME=...> Name of form datum --> <!-- <INPUT VALUE="..."> Default/initial/selected value --> <!-- <INPUT SRC="..."> Address of image --> <!-- <INPUT CHECKED> Initial state is "on" --> <!-- <INPUT SIZE=...> Field size hint --> <!-- <INPUT MAXLENGTH=...> Data length maximum --> <!-- <INPUT ALIGN=...> Image alignment --> <!ELEMENT SELECT - - (OPTION+) -(INPUT|SELECT|TEXTAREA)> <!ATTLIST SELECT NAME CDATA"Ô" -- capital O, circumflex accent#REQUIRED SIZE NUMBER #IMPLIED MULTIPLE (MULTIPLE) #IMPLIED %SDAFORM; "List" %SDAPREF; "<LHead>Select #AttVal(Multiple)</LHead>" > <!-- <SELECT> Selection of option(s) --><!ENTITY Ograve<!-- <SELECT NAME=...> Name of form datum --> <!-- <SELECT SIZE=...> Options displayed at a time --> <!-- <SELECT MULTIPLE> Multiple selections allowed --> <!ELEMENT OPTION - O (#PCDATA)*> <!ATTLIST OPTION SELECTED (SELECTED) #IMPLIED VALUE CDATA"Ò"#IMPLIED %SDAFORM; "LItem" %SDAPREF; "Option: #AttVal(Value) #AttVal(Selected)" > <!-- <OPTION> A selection option --> <!-- <OPTION SELECTED> Initial state --> <!-- <OPTION VALUE="..."> Form datum value for this option--> <!ELEMENT TEXTAREA - - (#PCDATA)* -(INPUT|SELECT|TEXTAREA)> <!ATTLIST TEXTAREA NAME CDATA #REQUIRED ROWS NUMBER #REQUIRED COLS NUMBER #REQUIRED Berners-Lee, Connolly [Page 54] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 %SDAFORM; "Para" %SDAPREF; "Input Text --capital O, grave accent#AttVal(Name): " > <!-- <TEXTAREA> An area for text input --> <!-- <TEXTAREA NAME=...> Name of form datum --> <!-- <TEXTAREA ROWS=...> Height of area --> <!-- <TEXTAREA COLS=...> Width of area --> ]]> <!--======= Document Head ======================--> <![ %HTML.Recommended [ <!ENTITYOslash CDATA "Ø" -- capital O, slash -->% head.extra ""> ]]> <!ENTITYOtilde CDATA "Õ" -- capital O, tilde -->% head.extra "& NEXTID?"> <!ENTITYOuml CDATA "Ö" -- capital O, dieresis or umlaut mark% head.content "TITLE & ISINDEX? & BASE? %head.extra"> <!ELEMENT HEAD O O (%head.content) +(META|LINK)> <!-- <HEAD> Document head --><!ENTITY THORN CDATA "Þ" -- capital THORN, Icelandic<!ELEMENT TITLE - - (#PCDATA)*> <!ATTLIST TITLE %SDAFORM; "Ti" > <!-- <TITLE> Title of document --><!ENTITY Uacute CDATA "Ú" -- capital U, acute accent<!ELEMENT LINK - O EMPTY> <!ATTLIST LINK HREF %URI #REQUIRED %linkExtraAttributes; %SDAPREF; "Linked to : #AttVal (TITLE) (URN) (HREF)>" > <!-- <LINK> Link from this document --><!ENTITY Ucirc CDATA "Û" -- capital U, circumflex accent<!-- <LINK HREF="..."> Address of link destination --><!ENTITY Ugrave CDATA "Ù" -- capital U, grave accent<!-- <LINK URN="..."> Lasting name of destination --><!ENTITY Uuml CDATA "Ü" -- capital U, dieresis or umlaut mark<!-- <LINK REL=...> Relationship to destination --><!ENTITY Yacute CDATA "Ý" -- capital Y, acute accent<!-- <LINK REV=...> Relationship of destination to this --><!ENTITY aacute CDATA "á" -- small a, acute accent<!-- <LINK TITLE="..."> Title of destination (advisory) --><!ENTITY acirc CDATA "â" -- small a, circumflex accent<!-- <LINK METHODS="..."> Operations allowed (advisory) --><!ENTITY aelig CDATA "æ" -- small ae diphthong (ligature)<!ELEMENT ISINDEX - O EMPTY> <!ATTLIST ISINDEX %SDAPREF; "<Para>[Document is indexed/searchable.]</Para>"> <!-- <ISINDEX> Document is a searchable index --><!ENTITY agrave CDATA "à" -- small a, grave accent<!ELEMENT BASE - O EMPTY> <!ATTLIST BASE Berners-Lee, Connolly [Page 55] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 HREF %URI; #REQUIRED > <!-- <BASE> Base context document --><!ENTITY aring CDATA "å" -- small a, ring<!-- <BASE HREF="..."> Address for this document --><!ENTITY atilde<!ELEMENT NEXTID - O EMPTY> <!ATTLIST NEXTID N CDATA"ã" -- small a, tilde#REQUIRED > <!-- <NEXTID> Next ID to use for link name --><!ENTITY auml CDATA "ä" -- small a, dieresis or umlaut mark<!-- <NEXTID N=...> Next ID to use for link name --><!ENTITY ccedil<!ELEMENT META - O EMPTY> <!ATTLIST META HTTP-EQUIV NAME #IMPLIED NAME NAME #IMPLIED CONTENT CDATA"ç" -- small c, cedilla#REQUIRED > <!-- <META> Generic Metainformation --><!ENTITY eacute CDATA "é" -- small e, acute accent<!-- <META HTTP-EQUIV=...> HTTP response header name --><!ENTITY ecirc CDATA "ê" -- small e, circumflex accent<!-- <META NAME=...> Metainformation name --><!ENTITY egrave CDATA "è" -- small e, grave accent<!-- <META CONTENT="..."> Associated information --> <!--======= Document Structure =================--> <![ %HTML.Deprecated [ <!ENTITYeth CDATA "ð" -- small eth, Icelandic -->% html.content "HEAD, BODY, PLAINTEXT?"> ]]> <!ENTITYeuml CDATA "ë" -- small e, dieresis or umlaut mark -->% html.content "HEAD, BODY"> <!ELEMENT HTML O O (%html.content)> <!ENTITYiacute% version.attr "VERSION CDATA"í" -- small i, acute accent#FIXED '%HTML.Version;'"> <!ATTLIST HTML %version.attr; %SDAFORM; "Book" > <!-- <HTML> HTML Document --><!ENTITY icirc CDATA "î" -- small i, circumflex accent9.2. Strict HTML DTD This document type declaration refers to the HTML DTD with the `HTML.Recommended' entity defined as `INCLUDE' rather than IGNORE; that is, it refers to the more structurally rigid definition of HTML. <!-- html-s.dtd Document Type Definition for the HyperText Markup Language with strict validation (HTML Strict DTD). $Id: html-s.dtd,v 1.3 1995/06/02 18:55:46 connolly Exp $ Berners-Lee, Connolly [Page 56] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 Author: Daniel W. Connolly <connolly@w3.org> See Also: http://www.w3.org/hypertext/WWW/MarkUp/MarkUp.html - --> <!ENTITYigrave CDATA "ì"% HTML.Version "-//IETF//DTD HTML 2.0 Strict//EN" --small i, grave accent --> <!ENTITY iuml CDATA "ï"Typical usage: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict//EN"> <html> ... </html> --small i, dieresis or umlaut mark> <!-- Feature Test Entities --> <!ENTITYntilde CDATA "ñ" -- small n, tilde -->% HTML.Recommended "INCLUDE"> <!ENTITYoacute CDATA "ó" -- small o, acute accent% html PUBLIC "-//IETF//DTD HTML 2.0//EN"> %html; 9.3. Level 1 HTML DTD This document type declaration refers to the HTML DTD with the `HTML.Forms' entity defined as `IGNORE' rather than `INCLUDE'. Documents which contain <FORM> elements do not conform to this DTD, and must use the level 2 DTD. <!-- html-1.dtd Document Type Definition for the HyperText Markup Language with Level 1 Extensions (HTML Level 1 DTD). $Id: html-1.dtd,v 1.2 1995/03/29 18:53:10 connolly Exp $ Author: Daniel W. Connolly <connolly@w3.org> See Also: http://info.cern.ch/hypertext/WWW/MarkUp/MarkUp.html - --> <!ENTITYocirc CDATA "ô"% HTML.Version "-//IETF//DTD HTML 2.0 Level 1//EN" --small o, circumflex accent --> <!ENTITY ograve CDATA "ò"Typical usage: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Level 1//EN"> <html> ... </html> --small o, grave accentBerners-Lee, Connolly [Page 57] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 > <!-- Feature Test Entities --> <!ENTITYoslash CDATA "ø" -- small o, slash -->% HTML.Forms "IGNORE"> <!ENTITYotilde CDATA "õ" -- small o, tilde% html PUBLIC "-//IETF//DTD HTML 2.0//EN"> %html; 9.4. Strict Level 1 HTML DTD This document type declaration refers to the level 1 HTML DTD with the `HTML.Recommended' entity defined as `INCLUDE' rather than IGNORE; that is, it refers to the more structurally rigid definition of HTML. <!-- html-1s.dtd Document Type Definition for the HyperText Markup Language Struct Level 1 $Id: html-1s.dtd,v 1.3 1995/06/02 18:55:43 connolly Exp $ Author: Daniel W. Connolly <connolly@w3.org> See Also: http://www.w3.org/hypertext/WWW/MarkUp/MarkUp.html - --> <!ENTITYouml CDATA "ö"% HTML.Version "-//IETF//DTD HTML 2.0 Strict Level 1//EN" --small o, dieresis or umlaut mark --> <!ENTITY szlig CDATA "ß"Typical usage: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict Level 1//EN"> <html> ... </html> --small sharp s, German (sz ligature)> <!-- Feature Test Entities --> <!ENTITYthorn CDATA "þ" -- small thorn, Icelandic -->% HTML.Recommended "INCLUDE"> <!ENTITYuacute CDATA "ú"% html-1 PUBLIC "-//IETF//DTD HTML 2.0 Level 1//EN"> %html-1; 9.5. SGML Declaration for HTML This is the SGML Declaration for HyperText Markup Language. <!SGML "ISO 8879:1986" - --small u, acute accent --> <!ENTITY ucirc CDATA "û"SGML Declaration for HyperText Markup Language (HTML). Berners-Lee, Connolly [Page 58] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 - --small u, circumflex accent --> <!ENTITY ugrave CDATA "ù"CHARSET BASESET "ISO 646:1983//CHARSET International Reference Version (IRV)//ESC 2/5 4/0" DESCSET 0 9 UNUSED 9 2 9 11 2 UNUSED 13 1 13 14 18 UNUSED 32 95 32 127 1 UNUSED BASESET "ISO Registration Number 100//CHARSET ECMA-94 Right Part of Latin Alphabet Nr. 1//ESC 2/13 4/1" DESCSET 128 32 UNUSED 160 96 32 CAPACITY SGMLREF TOTALCAP 150000 GRPCAP 150000 ENTCAP 150000 SCOPE DOCUMENT SYNTAX SHUNCHAR CONTROLS 0 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 127 BASESET "ISO 646:1983//CHARSET International Reference Version (IRV)//ESC 2/5 4/0" DESCSET 0 128 0 FUNCTION RE 13 RS 10 SPACE 32 TAB SEPCHAR 9 NAMING LCNMSTRT "" UCNMSTRT "" LCNMCHAR ".-" UCNMCHAR ".-" NAMECASE GENERAL YES ENTITY NO DELIM GENERAL SGMLREF SHORTREF SGMLREF NAMES SGMLREF QUANTITY SGMLREF ATTSPLEN 2100 LITLEN 1024 NAMELEN 72 --small u, grave accent --> <!ENTITY uuml CDATA "ü"somewhat arbitrary; taken from Berners-Lee, Connolly [Page 59] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 internet line length conventions --small u, dieresis or umlaut mark --> <!ENTITY yacute CDATA "ý"PILEN 1024 TAGLVL 100 TAGLEN 2100 GRPGTCNT 150 GRPCNT 64 FEATURES MINIMIZE DATATAG NO OMITTAG YES RANK NO SHORTTAG YES LINK SIMPLE NO IMPLICIT NO EXPLICIT NO OTHER CONCUR NO SUBDOC NO FORMAL YES APPINFO "SDA" --small y, acute accent --> <!ENTITY yuml CDATA "ÿ"conforming SGML Document Access application --small y, dieresis or umlaut mark> <!-- $Id: html.decl,v 1.17 1995/06/08 14:59:32 connolly Exp $ Author: Daniel W. Connolly <connolly@w3.org> See also: http://www.w3.org/hypertext/WWW/MarkUp/MarkUp.html -->9. Glossary absolute URI a URI in absolute form, as per [URL] anchor a hyperlink navigation option; typically, a highlighted phrase marked as9.6. Sample SGML Open Entity Catalog for HTML The SGML standard describes an<A> element. base URI URI used``entity manager'' as thebase of an HTML document for the purpose of resolving hyperlink destinations. character An atom of information, for example a letterportion ora digit. Graphic characters have associated glyphs, where as control characters have associated processing semantics. character encoding scheme A function whose domain is the set of sequences of octets, and whose range is the set of sequencescomponent ofcharacters from a character repertoire;an SGML system thatis, a sequence of octets and a character encoding scheme determines a sequence of characters. character repertoire A finite set of characters; e.g.maps SGML entities into therange of a coded character set. code position An integer. A coded character set and a code position from its domain determine a character. coded character set A function whose domain isactual storage model (e.g., the file system). The standard itself does not define asubset ofparticular mapping methodology or notation. To assist theintegersinteroperability among various SGML tools andwhose range is a character repertoire. That is, for some set of integers (usually ofsystems, theform {0, 1, 2, ..., N} ),SGML Open consortium has passed acoded character set and an integer intechnical resolution thatset determinedefines acharacter. Conversely,format for an application- independent entity catalog that maps external identifiers and/or entity names to file names. Each entry in the catalog associates acharacter andstorage object identifier (such as acoded character set determinefile name) with information about thecharacter's code position (or,external entity that appears inrare cases,the SGML document. In addition to entries that associate public identifiers, afew code positions). conformingcatalog entry can associate an entity name with a storage object identifier. For example, the following are possible catalog entries: Berners-Lee, Connolly [Page 60] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 -- catalog: SGML Open style entity catalog for HTML -- -- $Id: catalog,v 1.2 1994/11/30 23:45:18 connolly Exp $ -- -- Ways to refer to Level 2: most general to most specific -- PUBLIC "-//IETF//DTD HTML//EN" html.dtd PUBLIC "-//IETF//DTD HTMLuser agent A user agent that conforms2.0//EN" html.dtd PUBLIC "-//IETF//DTD HTML Level 2//EN" html.dtd PUBLIC "-//IETF//DTD HTML 2.0 Level 2//EN" html.dtd -- Ways tothis specification in its processing of the Internet Media Type `text/html; version=2.0'. data character Characters other than markup, which make up the content of elements. document character set a coded characterrefer to Level 1: most general to most specific -- PUBLIC "-//IETF//DTD HTML Level 1//EN" html-1.dtd PUBLIC "-//IETF//DTD HTML 2.0 Level 1//EN" html-1.dtd -- Ways to refer to Level 0: most general to most specific -- PUBLIC "-//IETF//DTD HTML Level 0//EN" html-0.dtd PUBLIC "-//IETF//DTD HTML 2.0 Level 0//EN" html-0.dtd -- Ways to refer to Strict Level 2: most general to most specif\ c -- PUBLIC "-//IETF//DTD HTML Strict//EN" html-s.dtd PUBLIC "-//IETF//DTD HTML 2.0 Strict//EN" html-s.dtd PUBLIC "-//IETF//DTD HTML Strict Level 2//EN" html-s.dtd PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 2//EN" html-s.dtd -- Ways to refer to Strict Level 1: most general to most specif\ c -- PUBLIC "-//IETF//DTD HTML Strict Level 1//EN" html-1s.dtd PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 1//EN" html-1s.dtd -- Ways to refer to Strict Level 0: most general to most specif\ c -- PUBLIC "-//IETF//DTD HTML Strict Level 0//EN" html-0s.dtd PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 0//EN" html-0s.dtd -- ISO latin 1 entity setwhose range includes all characters used in a document. Every SGML document has exactly one document character set. Numeric character references are resolved via the document character set.for HTML -- PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML" ISOlat1\ sgml 9.7. Character Entity Sets The HTML DTDdocument type definition. Rules that apply SGML todefines themarkup of documents of afollowing entities. They represent particulartype, including agraphic characters which have special meanings in places in the markup, or may not be part of the character set available to the writer. 9.7.1. Numeric and Special Graphic Entity Set The following table lists each ofelementthe characters included from the Numeric and Special Graphic entitydeclarations. [SGML] element A componentset, along with its name, syntax for use, and description. This list is derived from `ISO Standard 8879:1986//ENTITIES Numeric and Special Graphic//EN'. Berners-Lee, Connolly [Page 61] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 However, HTML does not include for the entire entity set -- only the entities listed below are included. GLYPH NAME SYNTAX DESCRIPTION < lt < Less than sign > gt > Greater than sign & amp & Ampersand " quot " Double quote sign 9.7.2. ISO Latin 1 Character Entity Set The following public text lists each of thehierarchical structure defined by a document type definition; it is identifiedcharacters specified ina document instance by descriptive markup, sually a start-tagthe Added Latin 1 entity set, along with its name, syntax for use, andend-tag. [SGML] end-tag Descriptive markup that identifiesdescription. This list is derived from ISO Standard 8879:1986//ENTITIES Added Latin 1//EN. HTML includes theend of an element. [SGML]entire entity set. <!-- (C) International Organization for Standardization 1986 Permission to copy in any form is granted for use with conforming SGML systems and applications as defined in ISO 8879, provided this notice is included in all copies. - --> <!-- Character entitydata with an associated notationset. Typical invocation: <!ENTITY % ISOlat1 PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML"> %ISOlat1; - --> <!-- Modified for use in HTML $Id: ISOlat1.sgml,v 1.2 1994/11/30 23:45:12 connolly Exp $ --> <!ENTITY AElig CDATA "Æ" -- capital AE diphthong (ligature) --> <!ENTITY Aacute CDATA "Á" -- capital A, acute accent --> <!ENTITY Acirc CDATA "Â" -- capital A, circumflex accent --> <!ENTITY Agrave CDATA "À" -- capital A, grave accent --> <!ENTITY Aring CDATA "Å" -- capital A, ring --> <!ENTITY Atilde CDATA "Ã" -- capital A, tilde --> <!ENTITY Auml CDATA "Ä" -- capital A, dieresis or umlaut mark --> <!ENTITY Ccedil CDATA "Ç" -- capital C, cedilla --> <!ENTITY ETH CDATA "Ð" -- capital Eth, Icelandic --> <!ENTITY Eacute CDATA "É" -- capital E, acute accent --> <!ENTITY Ecirc CDATA "Ê" -- capital E, circumflex accent --> <!ENTITY Egrave CDATA "È" -- capital E, grave accent --> <!ENTITY Euml CDATA "Ë" -- capital E, dieresis or umlaut mark --> <!ENTITY Iacute CDATA "Í" -- capital I, acute accent --> <!ENTITY Icirc CDATA "Î" -- capital I, circumflex accent --> <!ENTITY Igrave CDATA "Ì" -- capital I, grave accent --> <!ENTITY Iuml CDATA "Ï" -- capital I, dieresis or umlaut mark --> <!ENTITY Ntilde CDATA "Ñ" -- capital N, tilde --> <!ENTITY Oacute CDATA "Ó" -- capital O, acute accent --> <!ENTITY Ocirc CDATA "Ô" -- capital O, circumflex accent --> <!ENTITY Ograve CDATA "Ò" -- capital O, grave accent --> <!ENTITY Oslash CDATA "Ø" -- capital O, slash --> <!ENTITY Otilde CDATA "Õ" -- capital O, tilde --> <!ENTITY Ouml CDATA "Ö" -- capital O, dieresis orinterpretation; for example, a sequence of octets associated with an Internet Media Type.[SGML] fragment identifier the portion of an HREF attribute value following the `#' character which modifies the prenentation of the destination of a hyperlink. form data set a sequence of name/value pairs; the names are given by an HTML document and the values are given by a user. HTML document An SGML document conforming to this document type definition. hyperlink a relationship between to resources, called the source and the destination. markup Syntactically delimited characters added to the data of a document to represent its structure. There are four different kinds of markup: descriptive markup (tags), references, markup declarations, and processing instructions.[SGML] may A documentumlaut mark --> Berners-Lee, Connolly [Page 62] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 <!ENTITY THORN CDATA "Þ" -- capital THORN, Icelandic --> <!ENTITY Uacute CDATA "Ú" -- capital U, acute accent --> <!ENTITY Ucirc CDATA "Û" -- capital U, circumflex accent --> <!ENTITY Ugrave CDATA "Ù" -- capital U, grave accent --> <!ENTITY Uuml CDATA "Ü" -- capital U, dieresis oruser interface is conforming whether this statement appliesumlaut mark --> <!ENTITY Yacute CDATA "Ý" -- capital Y, acute accent --> <!ENTITY aacute CDATA "á" -- small a, acute accent --> <!ENTITY acirc CDATA "â" -- small a, circumflex accent --> <!ENTITY aelig CDATA "æ" -- small ae diphthong (ligature) --> <!ENTITY agrave CDATA "à" -- small a, grave accent --> <!ENTITY aring CDATA "å" -- small a, ring --> <!ENTITY atilde CDATA "ã" -- small a, tilde --> <!ENTITY auml CDATA "ä" -- small a, dieresis ornot. media type an Internet Media Type, as per [IMEDIA]. message entity a head and body. The head is a collection of name/value fields, and the body is a sequence of octets. The head defines the content type and content transfer encoding of the body. [MIME] minimally conforming HTML user agent A user agent that conforms to this specification except for form processing. It may only process level 1 HTML documents. must Documentsumlaut mark --> <!ENTITY ccedil CDATA "ç" -- small c, cedilla --> <!ENTITY eacute CDATA "é" -- small e, acute accent --> <!ENTITY ecirc CDATA "ê" -- small e, circumflex accent --> <!ENTITY egrave CDATA "è" -- small e, grave accent --> <!ENTITY eth CDATA "ð" -- small eth, Icelandic --> <!ENTITY euml CDATA "ë" -- small e, dieresis oruser agents in conflict with this statement are not conforming. SGML document A sequence of characters organized physically as a set of entities and logically into a hierarchy of elements. An SGML document consists of data characters and markup; the markup describes the structure of the information and an instance of that structure.[SGML] shall If a documentumlaut mark --> <!ENTITY iacute CDATA "í" -- small i, acute accent --> <!ENTITY icirc CDATA "î" -- small i, circumflex accent --> <!ENTITY igrave CDATA "ì" -- small i, grave accent --> <!ENTITY iuml CDATA "ï" -- small i, dieresis oruser agent conflicts with this statement, it does not conform to this specification. should If a documentumlaut mark --> <!ENTITY ntilde CDATA "ñ" -- small n, tilde --> <!ENTITY oacute CDATA "ó" -- small o, acute accent --> <!ENTITY ocirc CDATA "ô" -- small o, circumflex accent --> <!ENTITY ograve CDATA "ò" -- small o, grave accent --> <!ENTITY oslash CDATA "ø" -- small o, slash --> <!ENTITY otilde CDATA "õ" -- small o, tilde --> <!ENTITY ouml CDATA "ö" -- small o, dieresis oruser agent conflicts with this statement, undesirable results may occur in practice even though it conforms to this specification. start-tag Descriptive markup that identifies the start of an element and specifies its generic identifier and attributes. [SGML] syntax-reference character set A coded character set whose range includes all characters used for markup; e.g. name characters and delimiter characters. tag Markup that delimits an element. A tag includes a name which refers to an element declaration in the DTD, and may include attributes.[SGML] text entity A finite sequence of characters. A text entity typically takes the form of a sequence of octets with some associated character encoding scheme, transmitted over the networkumlaut mark --> <!ENTITY szlig CDATA "ß" -- small sharp s, German (sz ligature) -\ > <!ENTITY thorn CDATA "þ" -- small thorn, Icelandic --> <!ENTITY uacute CDATA "ú" -- small u, acute accent --> <!ENTITY ucirc CDATA "û" -- small u, circumflex accent --> <!ENTITY ugrave CDATA "ù" -- small u, grave accent --> <!ENTITY uuml CDATA "ü" -- small u, dieresis orstored in a file.[SGML] typical Typical processing is described for many elements. This is not a mandatory part of the specification but is given as guidance for designersumlaut mark --> <!ENTITY yacute CDATA "ý" -- small y, acute accent --> <!ENTITY yuml CDATA "ÿ" -- small y, dieresis or umlaut mark --> 10. Security Considerations Anchors, embedded images, andto help explain the uses for which theall other elementswere intended. URI A Universal Resource Identifier is a formatted string that serveswhich contain URIs asan identifier for a resource, typcally onparameters may cause theInternet. URIs are used in HTMLURI toidentify the destination of hyperlinks. URIsbe dereferenced incommon practice include Uniform Resource Locators (URLs)[URL] and Relative URLs[RELURL].response to useragent A componentinput. In this case, the security considerations ofa distributed system that presents an interface and processes[URL] apply. The widely deployed methods for submitting forms requestson behalf-- HTTP and SMTP -- provide little assurance ofa user; for example, a www browser or a mail user agent. WWW The World-Wide Web is a hypertext-based, distributedconfidentiality. Information providers who request sensitive informationsystem createdvia forms -- especially byresearchers at CERN in Switzerland. Users may create, edit or browse hypertext documents. `http://www.w3.org/' 10. Bibliographyway of the `PASSWORD' type input field (see 8.1.2, "Input Field: INPUT") -- should be aware and make their users aware of the lack of confidentiality. Berners-Lee, Connolly [Page 63] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 11. References [URI] T. Berners-Lee. ``Universal Resource Identifiers in WWW: A Unifying Syntax for the Expression of Names and Addresses of Objects on the Network as used in the World- Wide Web.'' RFC 1630, CERN, June 1994. <URL:ftp://ds.internic.net/rfc/rfc1630.txt> [URL] T. Berners-Lee, L. Masinter, and M. McCahill. ``Uniform Resource Locators (URL).'' RFC 1738, CERN, Xerox PARC, University of Minnesota, October 1994. <URL:ftp://ds.internic.net/rfc/rfc1738.txt> [HTTP] T. Berners-Lee, R. T. Fielding, and H. Frystyk Nielsen. ``Hypertext Transfer Protocol - HTTP/1.0.'' Work inProgress (draft-ietf-http-v10-spec-00.ps),Progress, MIT, UC Irvine, CERN, March 1995. <URL:ftp://ds.internic.net/internet-drafts/draft-ietf-http-v10-spec-00.ps> [MIME] N. Borenstein and N. Freed. ``MIME (Multipurpose Internet Mail Extensions) Part One: Mechanisms for Specifying and Describing the Format of Internet Message Bodies.'' RFC 1521, Bellcore, Innosoft, September 1993. <URL:ftp://ds.internic.net/rfc/rfc1521.txt> [RELURL] R. T. Fielding. ``Relative Uniform Resource Locators.'' Work inProgress (draft-ietf-uri-relative-url-06.txt),Progress, UC Irvine, March 1995. <URL:ftp://ds.internic.net/internet-drafts/draft-ietf-uri-relative-url-06.txt> [GOLD90] C. F. Goldfarb. ``The SGML Handbook.'' Y. Rubinsky, Ed., Oxford University Press, 1990. <URL:> [DEXTER] Frank Halasz and Mayer Schwartz, ``The Dexter Hypertext Reference Model'', ``Communications of the ACM'', pp. 30-39, vol. 37 no. 2, Feb 1994, <URL:> [IMEDIA] J. Postel. ``Media Type RegistrationProcedure.'' RFC 1590,Procedure.'', USC/ISI, March 1994. <URL:ftp://ds.internic.net/rfc/rfc1590.txt> [IANA] J. Reynolds and J. Postel. ``Assigned Numbers.'' STD 2, RFC 1700, USC/ISI, October 1994. <URL:ftp://ds.internic.net/rfc/rfc1700.txt> Berners-Lee, Connolly [Page 64] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 [SQ91] SoftQuad. ``The SGML Primer.'' 3rd ed., SoftQuad Inc., 1991.[US-ASCII] US-ASCII.<URL:http://www.sq.com/> [ISO-646] ISO/IEC 646:1991 Information technology -- ISO 7-bit coded character set for information interchange <URL:http://www.iso.ch/cate/d4777.html> [ISO-10646] ISO/IEC 10646-1:1993 Information technology -- Universal Multiple-Octet Coded Character Set- 7-Bit American Standard Code for Information Interchange. Standard ANSI X3.4-1986, ANSI, 1986.(UCS) -- Part 1: Architecture and Basic Multilingual Plane <URL:http://www.iso.ch/cate/d18741.html> [ISO-8859-1] ISO 8859. International Standard -- Information Processing -- 8-bit Single-Byte Coded Graphic Character Sets -- Part 1: Latin Alphabet No. 1, ISO 8859-1:1987.Part 2: Latin alphabet No. 2, ISO 8859-2, 1987. Part 3: Latin alphabet No. 3, ISO 8859-3, 1988. Part 4: Latin alphabet No. 4, ISO 8859-4, 1988. Part 5: Latin/Cyrillic alphabet, ISO 8859-5, 1988. Part 6: Latin/Arabic alphabet, ISO 8859-6, 1987. Part 7: Latin/Greek alphabet, ISO 8859-7, 1987. Part 8: Latin/Hebrew alphabet, ISO 8859-8, 1988. Part 9: Latin alphabet No. 5, ISO 8859-9, 1990.<URL:http://www.iso.ch/cate/d16338.html> [SGML] ISO 8879. Information Processing--- Text and Office Systems - Standard Generalized Markup Language (SGML), 1986.11. Appendices These appendices are provided<URL:http://www.iso.ch/cate/d16387.html> 12. Acknowledgments The HTML document type was designed by Tim Berners-Lee at CERN as part of the 1990 World Wide Web project. In 1992, Dan Connolly wrote the HTML Document Type Definition (DTD) and a brief HTML specification. Since 1993, a wide variety of Internet participants have contributed to the evolution of HTML, which has included the addition of in-line images introduced by the NCSA Mosaic software for WWW. Dave Raggett played an important role in deriving the FORMS material from the HTML+ specification. Dan Connolly and Karen Olson Muldrow rewrote the HTML Specification in 1994. The document was then edited by the HTML working group as a whole, with updates being made by Eric Schieler, Mike Knezovich, and Eric W. Sink at Spyglass, Inc. Finally, Roy Fielding restructured the entire draft into its current form. Special thanks to the many active participants in the HTML working group, too numerous to list individually, without whom there would be no standards process and no standard. That this document approaches its objective of carefully converging a description of current practice and formalization of HTML's relationship to SGML is a tribute to their effort. Berners-Lee, Connolly [Page 65] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 12.1. Authors' Addresses Tim Berners-Lee Director, W3 Consortium MIT Laboratory for Computer Science 545 Technology Square Cambridge, MA 02139, U.S.A. Tel: +1 (617) 253 9670 Fax: +1 (617) 258 8682 Email: timbl@w3.org Daniel W. Connolly Research Technical Staff, W3 Consortium MIT Laboratory forinformational reasons only - they do not form a part of the HTML specification. 11.1.Computer Science 545 Technology Square Cambridge, MA 02139, U.S.A. Fax: +1 (617) 258 8682 Email: connolly@w3.org URI: http://www.w3.org/hypertext/WWW/People/Connolly/ 13. TheANSI/ISO 8859-1HTML Coded Character Set Thislist, sorted numerically, is derived from ANSI/ISO 8859-1 8-bit single-bytelist details the code positions and characters of the HTML document character set, specified in 9.5, "SGML Declaration for HTML". This codedgraphiccharacterset:set is based on [ISO-8859-1]. REFERENCE DESCRIPTION -------------- ----------- � -  Unused 	 Horizontal tab Line feed  -  Unused Carriage Return  -  Unused   Space ! Exclamation mark " Quotation mark # Number sign $ Dollar sign % Percent sign & Ampersand ' Apostrophe ( Left parenthesis ) Right parenthesis * Asterisk + Plus sign , Comma - Hyphen . Period (fullstop) / Solidus (slash) 0 - 9 Digits 0-9 Berners-Lee, Connolly [Page 66] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 : Colon ; Semi-colon < Less than = Equals sign > Greater than ? Question mark @ Commercial at A - Z Letters A-Z [ Left square bracket \ Reverse solidus (backslash) ] Right square bracket ^ Caret _ Horizontal bar (underscore) ` Acute accent a - z Letters a-z { Left curly brace | Vertical bar } Right curly brace ~ Tilde  - Ÿ Unused   Non-breaking Space ¡ Inverted exclamation ¢ Cent sign £ Pound sterling ¤ General currency sign ¥ Yen sign ¦ Broken vertical bar § Section sign ¨ Umlaut (dieresis) © Copyright ª Feminine ordinal « Left angle quote, guillemotleft ¬ Not sign ­ Soft hyphen ® Registered trademark ¯ Macron accent ° Degree sign ± Plus or minus ² Superscript two ³ Superscript three ´ Acute accent µ Micro sign ¶ Paragraph sign · Middle dot ¸ Cedilla ¹ Superscript one º Masculine ordinal » Right angle quote, guillemotright ¼ Fraction one-fourth ½ Fraction one-half ¾ Fraction three-fourths ¿ Inverted question mark À Capital A, grave accent Á Capital A, acute accent Berners-Lee, Connolly [Page 67] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995  Capital A, circumflex accent à Capital A, tilde Ä Capital A, dieresis or umlaut mark Å Capital A, ring Æ Capital AE dipthong (ligature) Ç Capital C, cedilla È Capital E, grave accent É Capital E, acute accent Ê Capital E, circumflex accent Ë Capital E, dieresis or umlaut mark Ì Capital I, grave accent Í Capital I, acute accent Î Capital I, circumflex accent Ï Capital I, dieresis or umlaut mark Ð Capital Eth, Icelandic Ñ Capital N, tilde Ò Capital O, grave accent Ó Capital O, acute accent Ô Capital O, circumflex accent Õ Capital O, tilde Ö Capital O, dieresis or umlaut mark × Multiply sign Ø Capital O, slash Ù Capital U, grave accent Ú Capital U, acute accent Û Capital U, circumflex accent Ü Capital U, dieresis or umlaut mark Ý Capital Y, acute accent Þ Capital THORN, Icelandic ß Small sharp s, German (sz ligature) à Small a, grave accent á Small a, acute accent â Small a, circumflex accent ã Small a, tilde ä Small a, dieresis or umlaut mark å Small a, ring æ Small ae dipthong (ligature) ç Small c, cedilla è Small e, grave accent é Small e, acute accent ê Small e, circumflex accent ë Small e, dieresis or umlaut mark ì Small i, grave accent í Small i, acute accent î Small i, circumflex accent ï Small i, dieresis or umlaut mark ð Small eth, Icelandic ñ Small n, tilde ò Small o, grave accent ó Small o, acute accent ô Small o, circumflex accent õ Small o, tilde ö Small o, dieresis or umlaut mark ÷ Division signø Small o, slash ù Small u, grave accent ú Small u, acute accent û Small u, circumflex accent ü Small u, dieresis or umlaut mark ý Small y, acute accent þ Small thorn, Icelandic ÿ Small y, dieresis or umlaut mark 11.2. Obsolete Features This section describes elements that are no longer part of HTML. Client implementors should implement these obsolete elements for compatibility with previous versions of the HTML specification. 11.2.1. Comment Element The Comment element is used to delimit unneeded text and comments. The Comment element has been introduced in some HTML applications but should be replaced by the SGML comment feature in new HTML interpreters (see Section 2.2.5). 11.2.2. Highlighted Phrase Element <HP> The Highlighted Phrase element should be ignored if not implemented. This element has been replaced by more meaningful elements (see Section 8). Example of use: <HP1>first highlighted phrase</HP1>non- highlighted text<HP2>second highlighted phrase</HP2> etc. 11.2.3. Plain Text Element <PLAINTEXT>Berners-Lee, Connolly [Page 68] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 ø Small o, slash ù Small u, grave accent ú Small u, acute accent û Small u, circumflex accent ü Small u, dieresis or umlaut mark ý Small y, acute accent þ Small thorn, Icelandic ÿ Small y, dieresis or umlaut mark 14. Proposed Entities ThePlain Text element is used to terminates theHTML DTD references the ``Added Latin 1'' entityand to indicate that what follows is not SGMLset, whichdoes not require parsing. Instead, an old HTTP convention specified that what followed was an ASCII (MIME ``text/plain'') body. Its presence is an optimization. There is no closing tag. Example of use: <PLAINTEXT> 0001 This is line one ofonly supplies named entities for along listing 0002 file from <ANY@HOST.INC.COM> which is sent 11.2.4. Example and Listing Elements <XMP> ... </XMP> and <LISTING> ... </LISTING> The Example and Listing elements have been replaced by the Preformatted Text element (Section 10.2). These styles allow textsubset offixed-widththe non-ASCII charactersto be embedded absolutely as is intoin [ISO-8859-1], namely thedocument. The syntax is: <LISTING> ... </LISTING> or <XMP> ... </XMP>accented characters. Thetext between these tags is typically rendered in a monospaced fontfollowing entities should be supported so thatany formatting done by character spacing on successive lines will be maintained. Between the opening and closing tags: * The text may contain any ISO Latin-1 printable characters, except for the end-tag opener. The Example and Listing elements have historically used specifications which do not conform to SGML. Specifically, the text may containall ISOLatin printable characters, including the tag opener, as long it they does not contain the closing tag in full. * SGML does not support this form. HTML interpreters may vary on how they interpret other tags within Example and Listing elements. * Line boundaries within the text8859-1 characters may only be referenced symbolically. The names for these entities arerendered as a move totaken from thebeginningappendixes ofthe next line, except for[SGML]. <!ENTITY nbsp CDATA " " -- no-break space --> <!ENTITY iexcl CDATA "¡" -- inverted exclamation mark --> <!ENTITY cent CDATA "¢" -- cent sign --> <!ENTITY pound CDATA "£" -- pound sterling sign --> <!ENTITY curren CDATA "¤" -- general currency sign --> <!ENTITY yen CDATA "¥" -- yen sign --> <!ENTITY brvbar CDATA "¦" -- broken (vertical) bar --> <!ENTITY sect CDATA "§" -- section sign --> <!ENTITY uml CDATA "¨" -- umlaut (dieresis) --> <!ENTITY copy CDATA "©" -- copyright sign --> <!ENTITY ordf CDATA "ª" -- ordinal indicator, feminine --> <!ENTITY laquo CDATA "«" -- angle quotation mark, left --> <!ENTITY not CDATA "¬" -- not sign --> <!ENTITY shy CDATA "­" -- soft hyphen --> <!ENTITY reg CDATA "®" -- registered sign --> <!ENTITY macr CDATA "¯" -- macron --> <!ENTITY deg CDATA "°" -- degree sign --> <!ENTITY plusmn CDATA "±" -- plus-or-minus sign --> <!ENTITY sup2 CDATA "²" -- superscript two --> <!ENTITY sup3 CDATA "³" -- superscript three --> <!ENTITY acute CDATA "´" -- acute accent --> <!ENTITY micro CDATA "µ" -- micro sign --> <!ENTITY para CDATA "¶" -- pilcrow (paragraph sign) --> <!ENTITY middot CDATA "·" -- middle dot --> <!ENTITY cedil CDATA "¸" -- cedilla --> <!ENTITY sup1 CDATA "¹" -- superscript oneimmediately following a start-tag--> <!ENTITY ordm CDATA "º" -- ordinal indicator, masculine --> <!ENTITY raquo CDATA "»" -- angle quotation mark, right --> <!ENTITY frac14 CDATA "¼" -- fraction one-quarter --> <!ENTITY frac12 CDATA "½" -- fraction one-half --> <!ENTITY frac34 CDATA "¾" -- fraction three-quarters --> <!ENTITY iquest CDATA "¿" -- inverted question mark --> <!ENTITY Agrave CDATA "À" -- capital A, grave accent --> <!ENTITY Aacute CDATA "Á" -- capital A, acute accent --> <!ENTITY Acirc CDATA "Â" -- capital A, circumflex accent --> Berners-Lee, Connolly [Page 69] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 <!ENTITY Atilde CDATA "Ã" -- capital A, tilde --> <!ENTITY Auml CDATA "Ä" -- capital A, dieresis orimmediately preceding an end-tag. * The horizontal tab character 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. Its use is not recommended. The Listing element is rendered so that at least 132 characters fit on a line. The Example element is rendered to that at least 80 characters fit on a line but is otherwise identical to the Listing element. 11.3. Proposed Features This section describes proposed HTML elements and entities that are not currently supported under HTML Levels 1,umlaut mark --> <!ENTITY Aring CDATA "Å" -- capital A, ring --> <!ENTITY AElig CDATA "Æ" -- capital AE diphthong (ligature) --> <!ENTITY Ccedil CDATA "Ç" -- capital C, cedilla --> <!ENTITY Egrave CDATA "È" -- capital E, grave accent --> <!ENTITY Eacute CDATA "É" -- capital E, acute accent --> <!ENTITY Ecirc CDATA "Ê" -- capital E, circumflex accent --> <!ENTITY Euml CDATA "Ë" -- capital E, dieresis or umlaut mark --> <!ENTITY Igrave CDATA "Ì" -- capital I, grave accent --> <!ENTITY Iacute CDATA "Í" -- capital I, acute accent --> <!ENTITY Icirc CDATA "Î" -- capital I, circumflex accent --> <!ENTITY Iuml CDATA "Ï" -- capital I, dieresis or umlaut mark --> <!ENTITY ETH CDATA "Ð" -- capital Eth, Icelandic --> <!ENTITY Ntilde CDATA "Ñ" -- capital N, tilde --> <!ENTITY Ograve CDATA "Ò" -- capital O, grave accent --> <!ENTITY Oacute CDATA "Ó" -- capital O, acute accent --> <!ENTITY Ocirc CDATA "Ô" -- capital O, circumflex accent --> <!ENTITY Otilde CDATA "Õ" -- capital O, tilde --> <!ENTITY Ouml CDATA "Ö" -- capital O, dieresis or2, but may be supported in the future. 11.3.1. Additional Character Entities To indicate special characters, HTML uses entityumlaut mark --> <!ENTITY times CDATA "×" -- multiply sign --> <!ENTITY Oslash CDATA "Ø" -- capital O, slash --> <!ENTITY Ugrave CDATA "Ù" -- capital U, grave accent --> <!ENTITY Uacute CDATA "Ú" -- capital U, acute accent --> <!ENTITY Ucirc CDATA "Û" -- capital U, circumflex accent --> <!ENTITY Uuml CDATA "Ü" -- capital U, dieresis ornumeric representations. Additional character presentations are proposed: CHARACTER REPRESENTATION Non-breaking space Soft-hyphen ­ Registered ® Copyright © 11.3.2. Defining Instance Element <DFN> ... </DFN> The Defining Instance element indicates the defining instance of a term. The typical rendering is boldumlaut mark --> <!ENTITY Yacute CDATA "Ý" -- capital Y, acute accent --> <!ENTITY THORN CDATA "Þ" -- capital THORN, Icelandic --> <!ENTITY szlig CDATA "ß" -- small sharp s, German (sz ligature) --> <!ENTITY agrave CDATA "à" -- small a, grave accent --> <!ENTITY aacute CDATA "á" -- small a, acute accent --> <!ENTITY acirc CDATA "â" -- small a, circumflex accent --> <!ENTITY atilde CDATA "ã" -- small a, tilde --> <!ENTITY auml CDATA "ä" -- small a, dieresis or umlaut mark --> <!ENTITY aring CDATA "å" -- small a, ring --> <!ENTITY aelig CDATA "æ" -- small ae diphthong (ligature) --> <!ENTITY ccedil CDATA "ç" -- small c, cedilla --> <!ENTITY egrave CDATA "è" -- small e, grave accent --> <!ENTITY eacute CDATA "é" -- small e, acute accent --> <!ENTITY ecirc CDATA "ê" -- small e, circumflex accent --> <!ENTITY euml CDATA "ë" -- small e, dieresis orbold italic. This element is not widely supported. 11.3.3. Strike Element <STRIKE> ... </STRIKE> The Strike element is proposed to indicate strikethrough, a font style in which a horizontal line appears through characters. This element is not widely supported. 11.3.4. Underline Element <U> ... </U> The Underline element is proposed to indicate that the text should be rendered as underlined. This proposed tag is not supported by all HTML interpreters. Example of use: The text <U>shown here</U> is rendered in the document as underlined. 12. Acknowledgments The HTML document type was designed by Tim Berners-Lee at CERN as part of the 1990 World Wide Web project. In 1992, Dan Connolly wrote the HTML Document Type Definition (DTD) and a brief HTML specification. Since 1993, a wide variety of Internet participants have contributed to the evolution of HTML, which has included the addition of in-line images introduced by the NCSA Mosaic software for WWW. Dave Raggett played an important role in deriving the FORMS material from the HTML+ specification. Dan Connolly and Karen Olson Muldrow rewrote the HTML Specification in 1994. The document was then edited by the HTML working group as a whole, with updates being made by Eric Schieler, Mike Knezovich, and Eric W. Sink at Spyglass, Inc. Finally, Roy Fielding restructured the entire draft into its current form. Special thanks to the many people who have contributed to this specification: Terry Allen Marc Andreessen Tim Berners-Lee Paul Burchard James Clark Daniel W.umlaut mark --> <!ENTITY igrave CDATA "ì" -- small i, grave accent --> <!ENTITY iacute CDATA "í" -- small i, acute accent --> <!ENTITY icirc CDATA "î" -- small i, circumflex accent --> <!ENTITY iuml CDATA "ï" -- small i, dieresis or umlaut mark --> <!ENTITY eth CDATA "ð" -- small eth, Icelandic --> <!ENTITY ntilde CDATA "ñ" -- small n, tilde --> <!ENTITY ograve CDATA "ò" -- small o, grave accent --> <!ENTITY oacute CDATA "ó" -- small o, acute accent --> <!ENTITY ocirc CDATA "ô" -- small o, circumflex accent --> <!ENTITY otilde CDATA "õ" -- small o, tilde --> <!ENTITY ouml CDATA "ö" -- small o, dieresis or umlaut mark --> <!ENTITY divide CDATA "÷" -- divide sign --> <!ENTITY oslash CDATA "ø" -- small o, slash --> Berners-Lee, ConnollyRoy T. Fielding Peter Flynn Jay Glicksman Paul Grosso Eduardo Gutentag Bill Hefley Chung-Jen Ho Mike Knezovich Tom Magliery Murray Maloney Larry Masinter Karen Olson Muldrow Bill Perry Dave Raggett E. Corprew Reed Yuri Rubinsky Eric Schieler James L. Seidman Eric W. Sink Stuart Weibel Chris Wilson Francois Yergeau 12.1. Authors' Addresses Tim Berners-Lee Director, W3 Consortium MIT Laboratory for Computer Science 545 Technology Square Cambridge, MA 02139, U.S.A. Tel: +1 (617) 253 9670 Fax: +1 (617) 258 8682 Email: timbl@w3.org Daniel W.[Page 70] INTERNET-DRAFT Hypertext Markup Language - 2.0 June 16, 1995 <!ENTITY ugrave CDATA "ù" -- small u, grave accent --> <!ENTITY uacute CDATA "ú" -- small u, acute accent --> <!ENTITY ucirc CDATA "û" -- small u, circumflex accent --> <!ENTITY uuml CDATA "ü" -- small u, dieresis or umlaut mark --> <!ENTITY yacute CDATA "ý" -- small y, acute accent --> <!ENTITY thorn CDATA "þ" -- small thorn, Icelandic --> <!ENTITY yuml CDATA "ÿ" -- small y, dieresis or umlaut mark --> Berners-Lee, ConnollyResearch Technical Staff, W3 Consortium MIT Laboratory for Computer Science 545 Technology Square Cambridge, MA 02139, U.S.A. Fax: +1 (617) 258 8682 Email: connolly@w3.org URI: http://www.w3.org/hypertext/WWW/People/Connolly/[Page 71] ----