HTML and CSS Reference
In-Depth Information
Name
code
Synopsis
<code> . . . </code>
Denotes a fragment of computer code that appears as an inline (phrasing) element. By default,
visual browsers render code in a monospace font.
Usage
Categories:
Flow content, phrasing content, palpable content
Permitted contexts:
Where phrasing content is expected
Permitted content:
Phrasing content
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes
Example
<p>DOM reference: <code> document.getElementById </code> </p>
Search WWH ::




Custom Search