J
Jan C. Faerber
I read that in XML you can use CDATA sections to show code in a
browser.
When you use HTML you can use the <pre> tag.
It works fine. I think <code> makes just the font style.
But when I use <script language="[...] in the <pre> section
and when I don't change <table> into <table> and so on
(well, I forgot at the moment what exactly prevents the browser
to use the code as usual) the <pre> tag becomes useless.
http://www.lovedieu.eu/javascript/resize.html
Here I tried to present some code including
<script etc. > and { ... } sections.
It was not working.
Is there a stronger tag than the <pre> tag to present code?
browser.
When you use HTML you can use the <pre> tag.
It works fine. I think <code> makes just the font style.
But when I use <script language="[...] in the <pre> section
and when I don't change <table> into <table> and so on
(well, I forgot at the moment what exactly prevents the browser
to use the code as usual) the <pre> tag becomes useless.
http://www.lovedieu.eu/javascript/resize.html
Here I tried to present some code including
<script etc. > and { ... } sections.
It was not working.
Is there a stronger tag than the <pre> tag to present code?