Tables, Continued


In the previous chapter, you have learned how to use tables. In this chapter, I will teach you some ways to use tables. I will show you tables using pictures and other things. Have fun!


Tables and Images


Sometimes, you want text next to an image but it doesn't fit and goes on the bottom of the image.

This doesn't really look good. Tables solve this. You can make a table with two cells, and put the image in one and the text in another like this:


Sometimes, you want text next to an image but it doesn't fit and goes on the bottom of the image.


Did you see how the text fit. The text didn't change, it was just aligned differently. The code for this is very simple. It just contains one row of two cells. Here it is:

<table>

<tr>

<td><img src="C:\WINDOWS\Desktop\google.jpg"></td>

<td><p><font size="6">Sometimes, you want text next to an image but it doesn't fit and goes on the bottom of the image.</font></p></td>

</tr>

</table>


Also, text can be aligned between two images using tables.

The code is simple, take a look:

<table>

<tr>

<td><img src="google.jpg"></td>

<td><font size="6">Also, text can be aligned between two images using tables.</font></td>

<td><right><img src="google.jpg"></right></td>

</tr>

</table>

Pretty easy, all you had to do is align the second image to the right because otherwise it wouldn't be aligned to the right.



In this chapter, you have learned some advanced features for tables. Like how to align images better and so forth. Get ready for the next chapter when we take a leap into:

Frames