The HTML Attribute reference

"rowspan" - html Attribute

  • Specifies the number of rows spanned by the current cell. The value zero ("0") means that the cell spans all rows from the current row to the last row of the table section (THEAD, TBODY, or TFOOT) in which the cell is defined.
  • The default value of this attribute is one ("1").

Value(s): number

Attribute "rowspan" example:
<table   border='1' cellpadding='0'
cellspacing='0' >
  <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 rowspan='2'>Firefox will execute any link (a) if exist,
but in IE you have to press enter after using the accesskey.</td>
  </tr>
  <tr>
    <td align='center' ><img src="../images/IE.png"
alt="" border="0" title="Internet explorer" /></td>
    <td >Alt + accesskey</td>

  </tr>
</table>
Used in the element(s):
Elements Description
td This element defines a data cell in a table.
th This element defines a header cell in a table.

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