| Opening Tag | Content | Closing Tag |
|---|---|---|
| <xmp> | text | </xmp> |
Example text does not allow HTML tags to be interpreted, unlike <pre>, which does.
Type in the following simple program:
<xmp>
for (I=1; I!=10; I++) { # set up the loop
print "I is $I\n"; # print current value
} # end the loop
<xmp>
And then run it.
. . .causes the following to be displayed:
Type in the following simple program:
for (I=1; I!=10; I++) { # set up the loop
print "I is $I\n"; # print current value
} # end the loop
And then run it.
This example shows how HTML tags are not interpreted within an
example block of text. This markup:
<xmp>
Here is some <b>bold</b> and
some <i>italic</i> text.
</xmp>
. . .causes the following to be displayed:
Here is some bold and
some italic text.
Last Modified: