HTML code tag

The HTML <code> tag represents a fragment of computer code.

The code fragment could be an XML element name, a filename, a computer program, or any other string that a computer would recognize.

Browsers usually display <code> content in a monospace font (also called a fixed-width or non-proportional font) such as Courier (unless style sheets have been used to specify a different font).

<p>The ColdFusion <code>DateFormat()</code> function formats the date passed in as a parameter.</p>

Eg. :

The ColdFusion DateFormat() function formats the date passed in as a parameter.