Pages

Ads 468x60px

Saturday, October 5, 2013

How to make a table using html

Tables can be very useful in your site.For example you want to put to ads one next to each other.That can be easily done with the
tag.

<table>
<tbody>
<tr><td>1</td><td>2</td></tr>
<tr><td>2</td><td>3</td></tr>
</tbody>
</body>

The <td> s are lines and the<td>s are positioned within the same line. So if you want to put two ads next to each other just put the code of the first ad between <td>1</td> replacing the 1 with your code.For the second ad do the same replacing 2 with your code.

You can increase the number of the lines by adding <td></td> and the number of cells in each line using more <td></td> tags.

No comments:

Post a Comment

 

Sample text

Sample Text