| 1 | <refentry id="code.element" revision='4.3'> |
| 2 | <?dbhtml filename="code.html"?> |
| 3 | |
| 4 | <refmeta> |
| 5 | <indexterm><primary>elements</primary> |
| 6 | <secondary>code</secondary></indexterm> |
| 7 | <refentrytitle>code</refentrytitle> |
| 8 | <refmiscinfo>Element</refmiscinfo> |
| 9 | </refmeta> |
| 10 | <refnamediv> |
| 11 | <refname>code</refname> |
| 12 | <refpurpose>&code.purpose;</refpurpose> |
| 13 | </refnamediv> |
| 14 | |
| 15 | &code.synopsis.gen; |
| 16 | <refsect1 condition='ref.description'><title>Description</title> |
| 17 | |
| 18 | <para>The <sgmltag>code</sgmltag> element is an inline element for |
| 19 | identifying small fragments of programming language code. |
| 20 | </para> |
| 21 | |
| 22 | <refsect2><title>Processing expectations</title> |
| 23 | <para>&format.inline;</para> |
| 24 | </refsect2> |
| 25 | |
| 26 | &code.parents.gen; |
| 27 | &code.children.gen; |
| 28 | |
| 29 | </refsect1> |
| 30 | |
| 31 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 32 | <variablelist> |
| 33 | <varlistentry><term>language</term> |
| 34 | <listitem> |
| 35 | <para>Identifies the programming language of the inline code.</para> |
| 36 | </listitem> |
| 37 | </varlistentry> |
| 38 | </variablelist> |
| 39 | </refsect1> |
| 40 | </refentry> |
| 41 |