HTML Element Reference

"table" - html element

  • The HTML table model allows you to arrange text, images, links, forms, form fields, other tables, etc. into rows and columns of cells.
  • Starttag <table> is Required and endtag </table> is Required
  • Browsers that support the table - element : Internet Explorer Mozilla Firefox Opera Google Chrome Apple Safari
Element "table" example:
<table   border='1'
cellpadding='0' cellspacing='0' >
<caption>Browser Accesskey usage  </caption>
    <th >Browser</th>
    <th >accesskey usage</th>
    <th >Remarks</th>
    <td align='center'  ><img src="../images/Firefox.png"
alt="" border="0"  title="Firefox"/></td>
    <td >Shift + Alt + accesskey</td>
    <td >Set the focus on the element and
execute any link (a) if exist.</td>
    <td align='center' ><img src="../images/IE.png"
alt="" border="0" title="Internet explorer" /></td>
    <td >Alt + accesskey</td>
    <td >Set the focus on the element.
Press enter to execute any link.</td>

align (deprecated), bgcolor (deprecated), border , cellpadding , cellspacing , class , dir , frame , id , lang , rules , style , summary , title , width (deprecated)

Attribute "align" value(s): depend on which element left, center or right
  • Specifies the horizontal alignment of its element with respect to the surrounding context. specifies the position of the table with respect to the document.
  • You should use styles (CSS) instead.
Possible attribute, align, values for this element:
Attribute value description
left The table is to the left of the document.
center The table is to the center of the document.
right The table is to the right of the document.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.