Back to Concepts

<code>

Inline code.

The `<code>` tag is used to define a piece of computer code. The content inside is displayed in the browser's default monospace font.

Live Example & Code

Preview Output
The <code>console.log()</code> method writes a message to the console.
HTMLViz
© 2026 HTMLViz. Open Source Learning.