Re: Dumb HTML question

by Romek <zylla(at)ck-sg.p.lodz.pl>

 Date:  Tue, 03 Jul 2001 13:27:31 +0000
 To:  "tim booker" <timbooker(at)btinternet.com>
 Cc:  hwg-techniques(at)hwg.org
 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.
>
><pre>

  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:

<xmp>
<html><head><title>Example</title></head>
<body><h1> XMP example</h1>
</body></html>
</xmp>

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



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

--
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