<code>
HTML <code> Element Reference
The HTML <code> element marks a fragment of computer code.
Categories
- Text-level semantics
Tag omission
Consult the HTML Living Standard for the precise tag-omission rules.
Content model
- Detailed content-model guidance will be added to this reference.
Attributes
Examples
Example
A practical code element example.
<p>Call <code>controller.abort()</code> to cancel the request.</p>