Colors, images, pictures, and graphics bring a
lot of flavors to a web page. As you already know, a web page is in
fact a text file equipped with HTML tags that a browser is asked to
analyze, interpret, and render a result. Unlike in a word processor, a
picture cannot be included on a web file. Instead, you tell the browser
where the image is located, the browser will try to find it and then
display it. This, of course means if you provide the wrong address, I
mean if you don't clearly state where the picture is located, or if the
browser doesn't find the picture where you said it was, there would be
an error on your page.
There are two primary sources you can use to direct the browser as to
where the picture is: the graphics could be on your server or on another
server on the Internet. Either way you have to clearly provide the
address.
If you will use a picture on your server, you should store it first.
There are various ways you can collect picture for your web pages. You
can get them from various pages on the Internet. You can use a
(commercial) graphics software to create your own pictures. You can buy a
graphics package that ships with a lot of pictures ready to be used.
Make sure the picture is in a format (it has a file extension) that the
browser can read (supports).
Once you have the picture, or to use a picture on your web page, you use the <img
src="Location"> combination tags.
No comments:
Post a Comment