TextAlign

text alignment for p, div, h1-h6. The default is
align="left" for ltr headings, "right" for rtl

Attribute Group Information

Attributes

QName Type Fixed Default Use Inheritable Annotation
align restriction of xs:token optional

Used By

Elements div, h1, h2, h3, h4, h5, h6, p

Source

<xs:attributeGroup name="TextAlign">
  <xs:annotation>
    <xs:documentation>text alignment for p, div, h1-h6. The default is align="left" for ltr headings, "right" for rtl</xs:documentation>
  </xs:annotation>
  <xs:attribute name="align">
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="left"/>
        <xs:enumeration value="center"/>
        <xs:enumeration value="right"/>
        <xs:enumeration value="justify"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:attribute>
</xs:attributeGroup>