| When the web was first created and people started writing books about how to create websites, placing images on the web didn't get much coverage. This was because of the limitations of the web and the web surfer's computer. But the web and computers have improved considerably and images have become an important part of webpages and websites. The HTML books published today talk about a picture being "worth a thousand words". Ok, let's say you have your image in the correct format and you are ready to add it to your webpage. You will use the HTML tag called the image tag to do this. Let's take a look at the image tag and its attribute/value parts. Some computer languages do not allow you to break a line of code into two lines such as I have done below. HTML is one of the languages that do allow you to do this.
indicates that the code is wrapped to a second line and should really be all on one line.The first thing you should notice is that the image tag does not have a matching closing tag (</img>) like most HTML tags do. Secondly you can see that this tag has many attribute/value pairs which gives you a lot of control over the way your image is displayed on the web page.
| | |||||||||||||||||||||||


alt="logo" border="0" hspace="1" vspace="1" 
Save to Del.icio.us




