code

Element Information

Model

Children: inline

Attributes

QName Type Fixed Default Use Inheritable Annotation
class optional
dir restriction of xs:token optional
id xs:ID optional
lang XHTMLLanguageCode optional
style StyleSheet optional
title XHTMLText optional

Source

<xs:element name="code" substitutionGroup="phrase">
  <xs:complexType mixed="true">
    <xs:complexContent>
      <xs:extension base="Inline">
        <xs:attributeGroup ref="code.attlist"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample