javascript
Brief description  about Online courses   join in Online courses
View manveen  kaur 's Profile

headings in the table.

we can write headings horizontally by <th>something</th> this.
if i want to write my headings veritically then how can i do this?
please answer.
Asked by manveen kaur | May 11, 2012 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
Hi


Please find the code

<table width="200" border="1">
<tr>
<th align="center" valign="middle">Heading 1</th>
</tr>
<tr>
<td align="center" valign="middle">Heading 2</td>
</tr>
<tr>
<td align="center" valign="middle">Heading 3</td>
</tr>
<tr>
<td align="center" valign="middle">Heading 4</td>
</tr>
<tr>
<td align="center" valign="middle">Heading 5</td>
</tr>
</table>


Regards
May 13, 2012