Text-level
<code> Code
A fragment of computer code.
Call dialog.showModal() to open it.
Tip. For multi-line code, put it inside pre. Code alone collapses whitespace.
- Since
- HTML 2.0
- Implicit role
- code
- Void
- No
Attributes0
Global attributes only.