CODE - program code
To present program code.
general notes on rendering markup.
Text container, i.e.
any element that may contain text elements.
This includes most HTML elements. In particular,
text elements can be nested.
Notice that this disallows e.g. paragraph breaks.
The following example discusses the C programming language, referring
to a particular expression in that language:
Expressions like <CODE>a[i++] + b[i++]</CODE> should not be used,
since they cause undefined behavior.
As usual in HTML,
division into lines and the use of blanks and tabs
is selected by the browser, not honoring the one in the HTML file.
large program codes are more suitably presented using the
PRE element or as separate text files
to which you have links in HTML files.
notes on presenting interaction with computer
general remarks on phrase elements.
of last update: