Learning Resources
 

code Tag for Code


The code tag is for designating fragments of computer code. It renders text in a monospace font in more browsers.

Using a code tag is easy:

code sample

Here's an example of text with the code tag applied:

»