Re: Dumb HTML question

by Romek <zylla(at)>

 Date:  Tue, 03 Jul 2001 13:27:31 +0000
 To:  "tim booker" <timbooker(at)>
 Cc:  hwg-techniques(at)
 References:  co
  todo: View Thread, Original
At 10:51 03-07-01 +0100, you wrote:
>> Can somebody remind me of the HTML tag that you can use to display
>> examples of HTML code on the screen without it being interpreted.
>> If that makes sense.

  It is rather  <xmp>  (short of "example") tag.
  But AFAIK it is deprecated and its use is not consistently implemented.
  In Opera  3.6x nesting of <xmp> tag is not supported.

Example of using:

<body><h1> XMP example</h1>

On the page this will be shown as:
<body><h1> XMP example</h1>

>>From a structural point of view, you should use <code> to markup 
>>sections of, erm, code.

Romek Zylla
~~~~~~~~~~~  after all the work done by Micro$oft (R)  ~~~~~~~~~~
        Personal Computer Science is an experimental one (C)

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA