Monday, 20 October 2014

Learn HTML online for beginners part 8 html insert table

HTML table


Tables are defined with the <table> tag.
a table is divided into Row (<tr> tag) and each row is divided into cells (<td> tag) td stands for "table data" and hold the content of a data cell. A <td> tag can contain text, link, images, lists, forms, other tables etc.

example


<table border="1">
<tr>
<td>Serial no</td>
<td>Name</td>
</tr>
<tr>
<td>1</td>
<td>jack</td>
</tr>
<tr>
<td>2</td>
<td>smith</td>
</tr>


Table caption

<table border="1">
<caption>your text</caption>




No comments:

Post a Comment