HTML code tag

Last Updated on April 26, 2023 by Roshan Parihar

HTML code tag is used to show computer codes inside webpages. You can display your programming codes with this formatting of text. It adds a different look with some background to make text looks differently.

Syntax

Example

Output

This is code

Resources and References HTML code tag

1. W3C Specification.
2. HTML living standard
3. W3C project using Github