<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.

<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

Updated