<tbl> (Table)

This element specifies the contents of a table present in the document. A table is a set of paragraphs (and other block-level content) arranged in rows and columns. Tables in WordprocessingML are defined via the <tbl >element, which is analogous to the HTML table tag.

example:

This table is represented by the following WordprocessingML:

<w:tbl>
  <w:tblPr>
    <w:tblW w:w="5000" w:type="pct"/>
    <w:tblBorders>
      <w:top w:val="single" w:sz="4" w:space="0" w:color="auto"/>
      <w:left w:val="single" w:sz="4 w:space="0" w:color="auto"/>
      <w:bottom w:val="single" w:sz="4" w:space="0" w:color="auto"/>
      <w:right w:val="single" w:sz="4" w:space="0" w:color="auto"/>
    </w:tblBorders>
  </w:tblPr>
  <w:tblGrid>
    <w:gridCol w:w="10296"/>
  </w:tblGrid>
  <w:tr>
    <w:tc>
      <w:tcPr>
        <w:tcW w:w="0" w:type="auto"/>
      </w:tcPr>
      <w:p/>
    </w:tc>
  </w:tr>
</w:tbl>

This table specifies table-wide properties of 100% of page width using the <tblW> element (§2.4.61); a the set of table borders using the <tblBorders> element (§2.4.38); the table grid which defines a set of shared vertical edges within the table using the <tblGrid> element (§2.4.44); and a single table row using the <tr> element (§2.4.75). ]

Parent Elements

<body>2.2.2); <comment>2.13.4.2); <customXml>2.5.1.6); <docPartBody>2.12.6); <endnote>2.11.2); <footnote>2.11.10); <ftr>2.10.3); <hdr>2.10.4); <sdtContent>2.5.2.32); <tc>2.4.62); <txbxContent>2.17.1.1)

Child Elements

Subclause

<bookmarkEnd> (Bookmark End)

§2.13.6.1

<bookmarkStart> (Bookmark Start)

§2.13.6.2

<commentRangeEnd> (Comment Anchor Range End)

§2.13.4.3

<commentRangeStart> (Comment Anchor Range Start)

§2.13.4.4

<customXml> (Row-Level Custom XML Element)

§2.5.1.4

<customXmlDelRangeEnd> (Custom XML Markup Deletion End)

§2.13.5.4

<customXmlDelRangeStart> (Custom XML Markup Deletion Start)

§2.13.5.5

<customXmlInsRangeEnd> (Custom XML Markup Insertion End)

§2.13.5.6

<customXmlInsRangeStart> (Custom XML Markup Insertion Start)

§2.13.5.7

<customXmlMoveFromRangeEnd> (Custom XML Markup Move Source End)

§2.13.5.8

<customXmlMoveFromRangeStart> (Custom XML Markup Move Source Start)

§2.13.5.9

<customXmlMoveToRangeEnd> (Custom XML Markup Move Destination Location End)

§2.13.5.10

<customXmlMoveToRangeStart> (Custom XML Markup Move Destination Location Start)

§2.13.5.11

<del> (Deleted Run Content)

§2.13.5.12

<ins> (Inserted Run Content)

§2.13.5.20

<moveFrom> (Move Source Run Content)

§2.13.5.21

<moveFromRangeEnd> (Move Source Location Container - End)

§2.13.5.23

<moveFromRangeStart> (Move Source Location Container - Start)

§2.13.5.24

<moveTo> (Move Destination Run Content)

§2.13.5.26

<moveToRangeEnd> (Move Destination Location Container - End)

§2.13.5.27

<moveToRangeStart> (Move Destination Location Container - Start)

§2.13.5.28

<oMath> (Office Math)

§7.1.2.77

<oMathPara> (Math Paragraph)

§7.1.2.78

<permEnd> (Range Permission End)

§2.13.7.1

<permStart> (Range Permission Start)

§2.13.7.2

<proofErr> (Proofing Error Anchor)

§2.13.8.1

<sdt> (Row-Level Structured Document Tag)

§2.5.2.31

<tblGrid> (Table Grid)

§2.4.44

<tblPr> (Table Properties)

§2.4.55

<tr> (Table Row)

§2.4.75

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Tbl">
	<sequence>
	<group ref="EG_RangeMarkupElements" minOccurs="0" maxOccurs="unbounded"/>
	<element name="tblPr" type="CT_TblPr"/>
	<element name="tblGrid" type="CT_TblGrid"/>
	<group ref="EG_ContentRowContent" minOccurs="0" maxOccurs="unbounded"/>
	</sequence>
</complexType>