| Opening Tag | Content | Closing Tag |
|---|---|---|
| <pre> | text | </pre> |
Pre-formatted text allows HTML tags to be interpreted, unlike <xmp>.
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.
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 interpreted within a pre-formatted block
of text. This markup:
Here is some bold and
some italic text.
Here is some bold and some italic text.