To create tables in HTML5 do the following
1.Decide how many columns you need, and determine which rows or columns you want to use as headlines.
2.Begin your table using the <table> tag.
The <table></table> encloses the table.
3.Create a table row using the <tr></tr> tags, you would need a pair or <tr></tr> for each data row.
4.Signify your headings using <th></th>, this will signify the text and make bolder and centered.
5.For normal data cells use the <td></td> pair.
6.Keep the number of your cells consistent across rows.
7.Add CSS code as required.
<table>
<tr>
<th>headline</th>
<th>headline</th>
</tr>
<tr>
<td>field1</td>
<td>field2</td>
</tr>
<tr>
<td>text</td>
<td>text2</td>
</tr>
</table>
Building Tables in HTML5
To create tables in HTML5 do the following
1.Decide how many columns you need, and determine which...
building tables in html5
Also tagged with one or more of these keywords: building tables, in html5
Web Design →
CSS / HTML →
How to create ordered lists in HTML5Started by OneDes, 26 Jan 2013 create, in html5 and 1 more... |
|
|
||
Web Design →
CSS / HTML →
How to create unordered list in HTML5 ?Started by OneDes, 26 Jan 2013 create, in html5, unordered list |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users