Version-//W3C//DTD XHTML 1.0 Strict//EN
Purposetabular presentation of information
DescriptionThis element is used to create tables of information.
Start tagRequired <table>
border CDATA #IMPLIEDinteger representing length in pixels; controls frame width around table
cellpadding CDATA #IMPLIEDnn for pixels or nn% for percentage length; spacing within cells
cellspacing CDATA #IMPLIEDnn for pixels or nn% for percentage length; spacing between cells
class CDATA #IMPLIEDspace-separated list of classes
dir( ltr | rtl )#IMPLIEDdirection for weak/neutral text
frame( void | above | below | hsides | lhs | rhs | vsides | box | border )#IMPLIEDwhich parts of frame to render
idID#IMPLIEDdocument-wide unique id
langNMTOKEN#IMPLIEDlanguage code (backwards compatible); language code as RFC3066
onclick CDATA #IMPLIEDa pointer button was clicked; script expression
ondblclick CDATA #IMPLIEDa pointer button was double clicked; script expression
onkeydown CDATA #IMPLIEDa key was pressed down; script expression
onkeypress CDATA #IMPLIEDa key was pressed and released; script expression
onkeyup CDATA #IMPLIEDa key was released; script expression
onmousedown CDATA #IMPLIEDa pointer button was pressed down; script expression
onmousemove CDATA #IMPLIEDa pointer was moved within; script expression
onmouseout CDATA #IMPLIEDa pointer was moved away; script expression
onmouseover CDATA #IMPLIEDa pointer was moved onto; script expression
onmouseup CDATA #IMPLIEDa pointer button was released; script expression
rules( none | groups | rows | cols | all )#IMPLIEDdefines which rules to draw between cells; if rules is absent then assume "none" if border is absent or border="0" otherwise "all"; rulings between rows and cols
style CDATA #IMPLIEDassociated style info; style sheet data
summary CDATA #IMPLIEDtext used for titles; purpose/structure for speech output
title CDATA #IMPLIEDadvisory title; text used for titles
width CDATA #IMPLIEDnn for pixels or nn% for percentage length; table width
xml:langNMTOKEN#IMPLIEDlanguage code (as per XML 1.0 spec); language code as RFC3066
Content( caption ?, ( col *| colgroup *), thead ?, tfoot ?, ( tbody +| tr +))
End tagRequired </table>
Referenced in blockquote body button dd del div fieldset form ins li map noscript object td th
<table frame="box" rules="groups" summary="The Results of the Big XHTML Playoffs.">
<caption>The XHTML Playoffs</caption>
<colgroup align="center">
<col />
<col style="background-color: #FFFFAA;" />
<col style="background-color: #BDFCC9;" /></colgroup>
<tfoot style="background-color: #05FFFF;">
<td colspan="3">Entities Win!</td></tr></tfoot>
<table border="1" width="100%">
<caption>Weekly Schedule</caption>
<th rowspan="2">Tasks</th>
<th colspan="7" style="background-color: #FFFFAA;">Days of the Week</th></tr>
<td colspan="2" rowspan="2" style="background-color: #05FFFF;">Off</td></tr>
<td colspan="2"></td>
<td colspan="3">Weekend Prep</td></tr></table>
The XHTML Playoffs
Game Elements Entities
Entities Win!
1 3 0
2 5 4
3 2 8
4 7 9
5 0 1
Weekly Schedule
Tasks Days of the Week
Mon Tue Wed Thu Fri Sat Sun
School   CS111   CS111   Off
Work Weekend Prep
Save this page to any social bookmarking site! Share · Search · Market · Directory
2015-11-01 · John December · Contact · Terms of Use © December Communications, Inc.