CODE
![[Local Convention]](/icons/dtdguid2.gif)

CoOL Conventions
Unless you are writing computer documenation, you will probably find
little use for this element, but there are a couple of exceptions to
this: identifying email addresses and URLS.
<code>http://foo.bar/bas/"<code>

Example of code. typically monospaced font. (Do not confuse
with PRE). For example the
string
<CODE> this is example code </CODE>
is rendered
"this is example code".
Content
- #PCDATA
- a -- Anchor; source and/or destination of a link
- applet
- b -- Bold text
- basefont
- big
- br -- Line break
- cite -- Name or title of cited work
- code -- Source code phrase.
addresses and URLS.
- dfn
- em -- Emphasized phrase
- font
- i -- Italic text
- img -- Image; icon, glyph or illustration
- input -- Form input datum
- kbd --
Keyboard phrase, e.g. user input
- map
- samp --
Sample text or characters
- script
- select -- Selection of option(s) (in form)
- small
- strike
- strong -- Strong emphasis
- sub
- sup
- textarea -- An area for text input (in form)
- tt --
Typewriter text
- u
- var --
Variable phrase or substitutable
No ATTRIBUTES
CONTENT DECLARATION
- Tag Minimization
-
Open Tag: REQUIRED
Close Tag: REQUIRED
Parent Elements
- a -- Anchor; source and/or destination of a link
- address -- Address, signature, or byline for document or passage
- applet
- b -- Bold text
- big
- blockquote -- Quoted passage
- body -- Document body
- caption
- center
- cite -- Name or title of cited work
- code -- Source code phrase.
addresses and URLS.
- dd -- Definition of term
- dfn
- div
- dt -- Term in definition list
- em -- Emphasized phrase
- font
- form -- Fill-out or data-entry form
- h1 -- Heading, level 1
- h2 -- Heading, level 2
- h3 -- Heading, level 3
- h4 -- Heading, level 4
- h5 -- Heading, level 5
- h6 -- Heading, level 6
- i -- Italic text
- kbd --
Keyboard phrase, e.g. user input
- li -- List item
- marquee
- multicol
- noscript
- p -- Paragraph
- pre -- Preformatted text
- samp --
Sample text or characters
- small
- strike
- strong -- Strong emphasis
- sub
- sup
- td
- th
- tt --
Typewriter text
- u
- var --
Variable phrase or substitutable
Top Elements
All Elements
Tree
htmlx DTD