This is an ad.
 
Webmonkey Kids
Webmonkey Kids
Lessons
Projects
Playground
Tools

Introduction
icon Aligning Images
Image Borders
Wrapping Text Around an Image
Some More Examples



Parents and Teachers:
Find out how your kids can use Webmonkey for Kids as a learning tool at home or in the classroom with our Planning Guide.

Send us feedback

Lesson C: Dealing with Images
Image Borders


<img border=#> sets the border size of an image

The image border is the line that appears around the edge of a picture placed on a Web page. Normally, this border will appear only if you use the image as a link. You can, however, create a border of any size around your image by using the <img border=#> tag, and replacing the # with a border size, from 0 to 99.

Perhaps more important, you can prevent a border from appearing around a linked image by setting the border size to zero (<img border=0>).

To add a border to our little monkey, do this:

<img border=5 src="/webmonkey/kids/lessons/stuff/monkey.gif">

Back

Next Page