VersionW3C//DTD HTML 3.2 Final//EN
ElementCODE
Purposesource (computer) code
DescriptionThis element encloses source text of of computer programs. Note that this does not create or preserve line breaks in this enclosed text. If you need linebreaks preserved, use PRE.
Start tagRequired <CODE>
AttributesNONE
Content( #PCDATA | TT | I | B | U | STRIKE | BIG | SMALL | SUB | SUP | EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | A | IMG | APPLET | FONT | BASEFONT | BR | SCRIPT | MAP | INPUT | SELECT | TEXTAREA )*
End tagRequired </CODE>
Referenced in A ADDRESS APPLET B BIG BLOCKQUOTE BODY CAPTION CENTER CITE CODE DD DFN DIV DT EM FONT FORM H1 H2 H3 H4 H5 H6 I KBD LI P PRE SAMP SMALL STRIKE STRONG SUB SUP TD TH TT U VAR
Example
SourceAppearance
Open the Java application with the line <CODE>public static void main (String args[])</CODE> Open the Java application with the line public static void main (String args[])
search Search · star Market
2023-06-19 · John December · Terms © johndecember.com