[Next] [Previous] [Up] [Top]

4. Obsolete and Proposed Features

4.1 Obsolete Features

4.1.1 - Comment
4.1.2 - Highlighted Phrase
4.1.3 - Plain Text
4.1.4 - Example and Listing

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.


4.1.1 Comment

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 user agents (see Section 2.6.5).


4.1.2 Highlighted Phrase

The Highlighted Phrase element (<HP>) should be ignored if not implemented. This element has been replaced by more meaningful elements (see Section 2.9).

Example of use:

<HP1>first highlighted phrase</HP1>non
highlighted text<HP2>second highlighted phrase</HP2> etc.

4.1.3 Plain Text

<PLAINTEXT>

The Plain Text element is used to terminates the HTML entity and to indicate that what follows is not SGML which does 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 of a long listing
0002 file from <ANY@HOST.INC.COM> which is sent

4.1.4 Example and Listing

<XMP> ... </XMP> and <LISTING> ... </LISTING>

The Example element and Listing element have been replaced by the Preformatted Text element.

These styles allow text of fixed-width characters to be embedded absolutely as is into the document. The syntax is:

<LISTING>
...
</LISTING>
or

<XMP>
...
</XMP>
The text between these tags is typically rendered in a monospaced font so that any formatting done by character spacing on successive lines will be maintained.

Between the opening and closing tags:

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.


HTML 2.0 Specification (Internet Draft) - 29 NOV 94
[Next] [Previous] [Up] [Top]

Generated with CERN WebMaker