The HTML Elements 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>
  <tr>
    <th >Browser</th>
    <th >accesskey usage</th>
    <th >Remarks</th>
  </tr>
  <tr>
    <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>
  </tr>
  <tr>
    <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>
  </tr>
</table>


Attributes:
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.