<code>...</code>

HTML4 HTML5

The <code> tag is used for inline computer code snippets. Monospace font is used by default.

Both opening and closing tags are required.

Example

Code:

<code>From this point<br>subsequent code lines<br>are listed</code>

The browser will interpret this code as follows:

From this point
subsequent code lines
are listed