Knowledge Walls
John Peter
Pune, Maharashtra, India
Table in HTML of Code Template
1966 Views
Table template
<table border="1" cellpadding="0" cellspacing="0" width="99" height="99">
     <colgroup>
             <col />
     </colgroup>
     <tr>
             <td></td>
     </tr>
</table>
Table colspan example template
<html>
    <head>
        <title></title>
    </head>
    <body>
        <table border="1" cellpadding="0" cellspacing="0">
            <tr>
                <td colspan="2">Title</td>
            </tr>
            <tr>
                <td>Name</td>
                <td>Age</td>
            </tr>
            ..
        </table>
    </body>
</html>
HTML Table rowspan example template
<html>
    <head>
        <title></title>
    </head>
    <body>
        <table border="1" cellpadding="0" cellspacing="0">
            <tr>
                <td rowspan="3">Names</td>
                <td>Name 1</td>
            </tr>
            <tr>
                <td>Name 2</td>
            </tr>
            <tr>
                <td>Name 3</td>
            </tr>
        </table>
    </body>
</html>
Hints 
thead, tbody and tfoot are three different group of contents in HTML tables.

thead contains table head rows and columns.
tbody contains table body releated rows and columns.
tfoot contains table foot releated rows and columns.
  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