code-type

Type of Code

The type of this code, used to categorize or describe the code.

With the Element

<code>
Value Meaning
Text, numbers, or special characters.s 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 &lt;conio.h>
#include&lt;win_mous.cpp>
// Needed for mouse &amp; win functions#define
...
</code>
...