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
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!