tr

Element Information

Model

th | td
Children: td, th

Attributes

QName Type Fixed Default Use Inheritable Annotation
align restriction of xsd:NMTOKEN optional
char xsd:string optional
charoff xsd:string optional
content-type xsd:string optional
id xsd:ID optional
style xsd:string optional
valign restriction of xsd:NMTOKEN optional
xml:base xs:anyURI optional
<div>
  <h3>base (as an attribute name)</h3>
  <p>denotes an attribute whose value provides a URI to be used as the base for interpreting any relative URIs in the scope of the element on which it appears; its value is inherited. This name is reserved by virtue of its definition in the XML Base specification.</p>
  <p>See
    <a href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</a>for information about this attribute.</p>
</div>

Used By

Source

<xsd:element name="tr">
  <xsd:annotation>
    <xsd:documentation/>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:group ref="tr.content" maxOccurs="unbounded"/>
    <xsd:attribute name="align" use="optional">
      <xsd:simpleType>
        <xsd:annotation>
          <xsd:documentation/>
        </xsd:annotation>
        <xsd:restriction base="xsd:NMTOKEN">
          <xsd:enumeration value="center"/>
          <xsd:enumeration value="char"/>
          <xsd:enumeration value="justify"/>
          <xsd:enumeration value="left"/>
          <xsd:enumeration value="right"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="char" use="optional" type="xsd:string"/>
    <xsd:attribute name="charoff" use="optional" type="xsd:string"/>
    <xsd:attribute name="content-type" use="optional" type="xsd:string"/>
    <xsd:attribute name="id" use="optional" type="xsd:ID"/>
    <xsd:attribute name="style" use="optional" type="xsd:string"/>
    <xsd:attribute name="valign" use="optional">
      <xsd:simpleType>
        <xsd:annotation>
          <xsd:documentation/>
        </xsd:annotation>
        <xsd:restriction base="xsd:NMTOKEN">
          <xsd:enumeration value="baseline"/>
          <xsd:enumeration value="bottom"/>
          <xsd:enumeration value="middle"/>
          <xsd:enumeration value="top"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute ref="xml:base" use="optional"/>
  </xsd:complexType>
</xsd:element>

Sample