C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

How to use <th> tag?

0 votes
41 views
asked Apr 23, 2014 by rock Expert (14,990 points)

1 Answer

0 votes
This element creates a single cell as a table heading. The text in this element appears in bold and is aligned to the center by default.
Example
 
<html>
<body>
     <table border="1">
          <tr>
               <th colspan="3">Bold and centered text</th>
          </tr>
          <tr>
               <td>first column</td>
               <td>second column</td>
               <td>third column</td>
          </tr>
     </table>
</body>
</html>
 
answered Apr 23, 2014 by augustaina Sr Member (4,820 points)

Related questions

0 votes
1 answer 30 views
30 views asked Apr 23, 2014 by rock Expert (14,990 points)
0 votes
1 answer 30 views
30 views asked Apr 23, 2014 by rock Expert (14,990 points)
0 votes
1 answer 27 views
27 views asked Apr 23, 2014 by smith Geek (15,340 points)
0 votes
1 answer 28 views
28 views asked Apr 23, 2014 by smith Geek (15,340 points)
0 votes
1 answer 26 views
26 views asked Apr 23, 2014 by rock Expert (14,990 points)
...