Contact Number
Email Address

code

code

Definition and Usage

The <code> tag is a phrase tag. The HTML <code> tag is used for indicating a piece of code. The code tag surrounds the code being marked up. The HTML <code> element represents a fragment of computer code. By default, it is displayed in the browser's default monospace font. The code being marked up could represent an XML element name, a filename, a computer program, or any other string that a computer would recognize. Browsers often display text surrounded by <code> tags in a monospaced font (also called a fixed-width or non-proportional font) such as Courier. Multiple lines of code can be marked up by surrounding the <code> tags with <pre> tags.

Syntax

<code></code>