Knowledge Walls
Venkatesan
Hyderabad, Andhra Pradesh, India
Passcode:
HEADER [cont'd]
MOUSE EVENTS [cont'd]
TD in TABLE of HTML 4
2152 Views
Usage 
The TD is used to define table data.

The align attribute is used to align table data.
The bgcolor is used to give background color.
The Height is used to specify height of the cell.
The width is used to specify width of the cell.
The valign is used to specify verticall allignment.
The rowspan is used to specify number of rows cells should span.
Example
<html>
<body>
<table border="1">
  <tr>
    <th>Week</th>
    <th>day</th>
     <th>opp</th>
  </tr>
  <tr>
    <td>1</td>
    <td height="100" width="100" align="right" valign="bottom" bgcolor="yellow">monday</td>
    <td rowspan="2">imp</td>
  </tr>
  <tr>
    <td>2</td>
    <td height="100" width="100" align="right" valign="bottom" bgcolor="yellow">tuesday</td>
  </tr>
</table>

</body>
</html>
Output 
Week day opp
1 monday imp
2 tuesday
Next Topics
Next lessons of current book.
TABLE of HTML 4
TABLE of HTML 4
TABLE of HTML 4
TABLE of HTML 4
TABLE of HTML 4
Previous Topics
Previous lessons of current book.
TABLE of HTML 4
TABLE of HTML 4
TABLE of HTML 4
LIST of HTML 4
LIST of HTML 4
Best Lessons of "HTML 4"
Top lessons which are viewed more times.
TEXT FONT STYLE of HTML 4
KEYBOARD EVENTS of HTML 4
FORM EVENTS of HTML 4
COMPONENTS of HTML 4
COMPONENTS of HTML 4
COMPONENTS of HTML 4
FORM EVENTS of HTML 4
KEYBOARD EVENTS of HTML 4
COMPONENTS of HTML 4
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details