<code>

<code> contains literal code from some formal language such as a programming language. [22.1.1. Phrase Level Terms]
Module tagdocs
Attributes
att.global
xml:id
n
xml:lang
att.global.rendition
style
rendition
att.global.linking
corresp
copyOf
next
prev
lang (formal language) a name identifying the formal language in which the code is expressed
Status Optional
Datatype teidata.word
Member of
Contained by
May contain Character data only
Examples

<code lang="JAVA">
   Size fCheckbox1Size = new Size();
   fCheckbox1Size.Height = 500;
   fCheckbox1Size.Width = 500;
   xCheckbox1.setSize(fCheckbox1Size);
</code>
Source Github

<elementSpec module="tagdocs" ident="code">
   
<desc>contains literal code from some formal language such as a
programming language.
</desc>
   
<classes>
      
<memberOf key="att.global"/>
      
<memberOf key="model.emphLike"/>
   
</classes>
   
<content>
      
<textNode/>
   
</content>
   
<attList>
      
<attDef ident="lang" usage="opt">
         
<gloss>formal language</gloss>
         
<desc>a name identifying the formal language in which  the
 code is expressed
</desc>
         
<datatype>
            
<dataRef key="teidata.word"/>
         
</datatype>
      
</attDef>
   
</attList>
</elementSpec>