![]() |
Fresh features... |
HTML LESSONS
Lesson 5 - Adding PicturesLesson 5 - Adding Pictures
Once you know where your images are saved, you are ready to write the code. The code to insert a picture is made up of three things:
<img src="http://www.neopets.com/mypicture.gif">
There are several other things you can add into the code to make the image
look better, including the border tag. Using this tag, you can choose what thickness of
border (if any) you�d like around your image. Some basic borders are:
You simply type in border="2" inside the tag after you have typed the location of your image, like so: <img src="http://www.neopets.com/mypicture.gif" border="2"> Your picture will now be displayed with a thick border around it. For details on how to arrange your image on your page and how to add background images, go to the next lesson...
| Back To HTML class | |
Follow the Owner for latest tweets about the site and updates |