Pages

Ads 468x60px

Showing posts with label tables. Show all posts
Showing posts with label tables. Show all posts

Monday, October 14, 2013

How to color your table cells.

If you are making an html table you might want to use different colours for individual cells.
 
Cell 1Cell 2
Cell 3Cell 4

So,you may want to paint one of your cells green.Like this.

Cell 1 Cell 2
Cell 3 Cell 4

That's easy to do using html.All you have to do is to insert the bgcolor attribute within the <td> tag,like this:

<td bgcolor='green'>

Read also
how to make a table using html.
Read more ...

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.
Read more ...
 

Sample text

Sample Text