[WEB4LIB:14785] Re: HTML CODE QUESTION
Gary Newhouse
garyn at oakton.edu
Wed Aug 12 15:26:56 EDT 1998
or simply enclose the html code in <pre>...</pre>.
gary newhouse
director of library & media
Oakton Community College
DesPlaines IL 60016
Luc Grondin wrote:
> Hello
>
> Andrew Mutch wrote:
>
> >When you want HTML code to appear on a page as text, what tags should you
> >surround it with so that this will happen??
>
> If you want ALL the code (the complete HTML file) to be shown as text, you
> can save your file with the extension ".txt". The HTML code will not be
> interpreted by the browser (at least if your file resides on a Windows or
> UNIX machine--I do not know about Mac). If you want only part of the code
> to appear on the browser's page, well, you will have to replace every '<'
> with '$lt;' and so forth.
>
> I hope that my answer is not too trivial in view of your needs (it only
> reflects what I do ;)
>
> Ciao
>
> Luc Grondin
> Bibliothecaire/Librarian
> Services informatises des bibliotheques
> Universite du Quebec a Montreal
More information about the Web4lib
mailing list