< html >
< body >
< br >< br >< br >
< font color=red size=1 > my font < /font >
< br >
< font color=green size=2 > my font < /font >
< br >
< font color=blue size=3 > my font < /font >
< br >
< font color=black size=4 > my font < /font >
< br >
< font color=gray size=5 > my font < /font >
< /body >
< /html >
Now you should see Figure 3 displayed on the screen.
g. < img >
The < img > tag allows you to display an image in your document. The most common
images on the internet is .jpg and .gif images. Let's assume you have an image saved in your
current directory called photo.jpg. We will show you how to display the image on your HTML
document. Creat a new HTML document named img.html with the following texts.
< html >
< body >
< br >< br >< br >
< img src="http://www.geocities.com/CollegePark/Union/7187/HTMLUser/photo.jpg" >
< /body >
< /html >
[ main page
]