The
I have created a small cluster of demonstration files to show the various upgrades
possible as replacements for the <XMP>
and
<LISTING>
elements contained in this
<LISTING>
demonstration file and this
<XMP>
demonstration file, showing a list of
alternatives to using these elements.
Possible downgrades are:
Possible upgrades are:
<XMP>
and <LISTING>
are never reported to have
any attributes. However in many current browser implementations which have maintained
them for backward compatibility, the style, accessibility, event, and language
attributes have been observed for these elements. Furthermore, an
"ALIGN
" attribute has been noted for the Opera browser, along with
"HEIGHT
" and "WIDTH
" for the
<LISTING>
element.This file, "metalink.html," is HTML 2.0 Strict Level 1
compliant.
The <PRE STYLE="font-size: 62%">
demonstration file
"listind6.html" is HTML 4.01 Strict
compliant.
Next Level Up