# &lt;code>

*noun*

say it: **“KOHD”** **/koʊd/**

The HTML element for a piece of computer code inside the text, which browsers show in a fixed-width font.

## What is **`<code>`**?

**`<code>`** — The element for a fragment of computer code.

```html
<p>Use <code>git status</code> to inspect changes.</p>
```

## In a sentence

- “In the how-to, the file name index.html is in a **code** element, so it shows in a typewriter-style font.”

Level: Apprentice · [More HTML terms at this level](https://www.ask-codey.com/glossary?category=html&level=2)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/code
