Schema Central  >  XHTML 1.0 Strict  >  xhtml1-strict.xsd  >  table
Advanced search

Recommended Reading:

Definitive XML Schema

 

table

Element information

Namespace: http://www.w3.org/1999/xhtml

Schema document: xhtml1-strict.xsd

Type: Anonymous

Properties: Global, Qualified

Content

  • Sequence [1..1]
    1. caption [0..1]
    2. Choice [1..1]
      • col [0..*] col elements define the alignment properties for cells in one or more columns. The width attribute specifies the width of the columns, e.g. width=64 width in screen pixels width=0.5* relative width of 0.5 The span attribute causes the attributes of one col element to apply to more than one column.
      • colgroup [0..*] colgroup groups a set of col elements. It allows you to group several semantically related columns together.
    3. thead [0..1]
    4. tfoot [0..1]
    5. Choice [1..1]

Attributes

NameOccTypeDescriptionNotes
id [0..1]xsd:IDfrom group coreattrs
class [0..1]xsd:NMTOKENSfrom group coreattrs
style [0..1]StyleSheetfrom group coreattrs
title [0..1]Textfrom group coreattrs
lang [0..1]LanguageCodefrom group i18n
xml:lang [0..1]Anonymousdenotes an attribute whose value is a language code for the natural language of the content of any element; its value is inherited. from group i18n
dir [0..1]Anonymousfrom group i18n
onclick [0..1]Scriptfrom group events
ondblclick [0..1]Scriptfrom group events
onmousedown [0..1]Scriptfrom group events
onmouseup [0..1]Scriptfrom group events
onmouseover [0..1]Scriptfrom group events
onmousemove [0..1]Scriptfrom group events
onmouseout [0..1]Scriptfrom group events
onkeypress [0..1]Scriptfrom group events
onkeydown [0..1]Scriptfrom group events
onkeyup [0..1]Scriptfrom group events
summary [0..1]Text
width [0..1]Length
border [0..1]Pixels
frame [0..1]TFrame
rules [0..1]TRules
cellspacing [0..1]Length
cellpadding [0..1]Length

Used in

Sample instance

<table> <--any elements or text--> </table>