HTML and CSS Reference
In-Depth Information
ous browsers. Use spaces to ensure correct horizontal positioning of text
within <pre> -formatted text segments.
A common use of the <pre> tag is to present computer source code, as
in the following example:
<p>
The processing program is:
<pre>
main(int argc, char **argv)
{
FILE *f;
int i;
if (argc != 2)
fprintf(stderr, "usage: %s &lt;file&gt;\n",
argv[0]);
<a href="http:process.c">process</a>(argv[1]);
exit(0);
}
</pre>
Figure 4-18 shows the result.
 
Search WWH ::




Custom Search