code

FilterElements

<code> ... </code>

Denotes a fragment of computer code that appears as an inline (phrasing) element.

Start/End Tags

Required/Required

Specifications

  • HTML 4.01
  • HTML5
<p>DOM reference: <code>document.getElementById</code></p>

Rendered Example

DOM reference: .getElementById