Appearance: | <CODE> </CODE> |
---|---|
Attributes: | None. |
Contents: | TT, I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA and plain text. |
May occur in: | BODY, DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, H2, H3, H4, H5, H6, PRE, ADDRESS, TT, I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, CAPTION. |
CODE is used for snippets of code which appear inside a paragraph of
text. It is usually rendered in a monospaced font. You can use this
tag to mark up things like <CODE>for ( ; ; ) ;</CODE>
is a nice way to make an endless loop in C
.
For larger blocks of code, use PRE instead. If what you are marking up is what a user should type in, use KBD.
Reference index ~
Wilbur index ~
Tag overview ~
Feedback
Copyright © 1997 Arnoud "Galactus" Engelfriet.