The Code object represents an HTML <code> element.
You can access a <code> element by using getElementById():
You can create a <code> element by using the document.createElement() method:
The Code object also supports the standard properties and events.
HTML tutorial: HTML Text Formatting Elements
HTML reference: HTML <code> tag