code-type
Type of Code
The type of this code, used to categorize or describe the code.
Used on Element: <code>
Value | Meaning |
---|---|
Text, numbers, or special characters | Typically a descriptive word such as “pseudo-code” or “scripting” that describes the type of language (not the name of the language) in which the code is written. |
Restriction | @code-type is an optional attribute; there is no default. |
Example
...
<code
code-type="user interface control"
language="C++"
language-version="11"
xml:space="preserve"
orientation="portrait"
position="anchor">
#include <conio.h>
#include<win_mous.cpp>
// Needed for mouse & win functions#define
...
</code>
...