table

<div xmlns="http://www.w3.org/1999/xhtml">
  <h3>Table: Table Element ..............................</h3>
</div>

Element Information

Model

Children: col, colgroup, tbody, tfoot, thead, tr

Attributes

QName Type Fixed Default Use Inheritable Annotation
border xsd:string optional
cellpadding xsd:string optional
cellspacing xsd:string optional
content-type xsd:string optional
frame restriction of xsd:NMTOKEN optional
id xsd:ID optional
rules restriction of xsd:NMTOKEN optional
specific-use xsd:string optional
style xsd:string optional
summary xsd:string optional
width xsd:string 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="table">
  <xsd:annotation>
    <xsd:documentation>
      <div xmlns="http://www.w3.org/1999/xhtml">
        <h3>Table: Table Element ..............................</h3>
      </div>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:group ref="table.content"/>
    <xsd:attribute name="border" use="optional" type="xsd:string"/>
    <xsd:attribute name="cellpadding" use="optional" type="xsd:string"/>
    <xsd:attribute name="cellspacing" use="optional" type="xsd:string"/>
    <xsd:attribute name="content-type" use="optional" type="xsd:string"/>
    <xsd:attribute name="frame" use="optional">
      <xsd:simpleType>
        <xsd:annotation>
          <xsd:documentation/>
        </xsd:annotation>
        <xsd:restriction base="xsd:NMTOKEN">
          <xsd:enumeration value="above"/>
          <xsd:enumeration value="below"/>
          <xsd:enumeration value="border"/>
          <xsd:enumeration value="box"/>
          <xsd:enumeration value="hsides"/>
          <xsd:enumeration value="lhs"/>
          <xsd:enumeration value="rhs"/>
          <xsd:enumeration value="void"/>
          <xsd:enumeration value="vsides"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="id" use="optional" type="xsd:ID"/>
    <xsd:attribute name="rules" use="optional">
      <xsd:simpleType>
        <xsd:annotation>
          <xsd:documentation/>
        </xsd:annotation>
        <xsd:restriction base="xsd:NMTOKEN">
          <xsd:enumeration value="all"/>
          <xsd:enumeration value="cols"/>
          <xsd:enumeration value="groups"/>
          <xsd:enumeration value="none"/>
          <xsd:enumeration value="rows"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="specific-use" use="optional" type="xsd:string"/>
    <xsd:attribute name="style" use="optional" type="xsd:string"/>
    <xsd:attribute name="summary" use="optional" type="xsd:string"/>
    <xsd:attribute name="width" use="optional" type="xsd:string"/>
    <xsd:attribute ref="xml:base" use="optional"/>
  </xsd:complexType>
</xsd:element>

Sample