CODE Element | CODE Object
Specifies a code sample.
HTML Syntax
<CODE CLASS=classname ID=value LANG=language LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS STYLE=css1-properties TITLE=text event = script >
Remarks
The CODE element is an inline element and requires a closing tag.
This element is available in HTML as of Microsoft® Internet Explorer 3.0, and in script as of Internet Explorer 4.0.
Members
Styles
Example
This example uses the CODE element to display text in a font used to represent computer code, such as values or variable names.
<CODE>Here is some text in a small, fixed-width font.</CODE>
See Also
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.