Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- TABLE SAMPLE -->
- <table>
- <tbody>
- <tr>
- <th colspan="2">Use the <b>th</b> tag to create the header which will display in bold</th>
- </tr>
- <tr>
- <td style="width: 50%;">The <b>tr</b> tag creates the row</td>
- <td style="width: 50%;">The <b>td</b> tag creates individual cells for each row</td>
- </tr>
- <tr class="dark">
- <td style="width: 50%;">You should always use the closing tags</td>
- <td style="width: 50%;">You can use a variety of XHTML tags inside the cell</td>
- </tr>
- <tr>
- <td style="width: 50%;">The three new table tags are <b>tbody, tfoot,</b> and <b>thead</b></td>
- <td style="width: 50%;">The <b>colspan</b> attribute allows you span more than one cell</td>
- </tr>
- <tr class="dark">
- <td style="width: 50%;">You should always use the closing tags</td>
- <td style="width: 50%;">You can use a variety of XHTML tags inside the cell</td>
- </tr>
- <tr>
- <td style="width: 50%;">The three new table tags are <b>tbody, tfoot,</b> and <b>thead</b></td>
- <td style="width: 50%;">The <b>colspan</b> attribute allows you span more than one cell</td>
- </tr>
- </tbody>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement