Marking up computer code

suggest change

Versions

[{“Name”:“2.0”,“GroupName”:null},{“Name”:“3.2”,“GroupName”:null},{“Name”:“4.0”,“GroupName”:null},{“Name”:“5”,“GroupName”:null}]

Syntax

Remarks

The code element should be used for any kind of “string that a computer would recognize” (HTML5), for example:

Related elements

For variables, the var element can be used.

For computer output, the samp element can be used.

For user input, the kbd element can be used.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents