The HTML Elements reference.

"th" - html element

  • This element defines a header cell in a table.
  • Starttag <th> is Required and endtag </th> is Optional
  • These elements are contained within a 'tr' element (a table row).
  • Browsers that support the th - element : Internet Explorer Mozilla Firefox Opera Google Chrome Apple Safari
Element "th" 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:
abbr , align (deprecated), axis , bgcolor (deprecated), char , charoff , class , colspan (Initial: 1), dir , headers , height (deprecated), id , lang , rowspan (Initial: 1), scope , style , title , valign , width (deprecated)

Attribute "abbr" value(s): text
  • Specifies an abbreviated version of the content in a cell.
  • Note: The abbr attribute is not supported in HTML5



© 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.