Code tag in HTML


The code tag is used to display a piece of computer code in HTML. It is rendered in the monospace font on the browser by default. The code tag can be also further improved by styling in the CSS.