SEARCH: webmonkey  the web

 
The How-to Library:

Authoring
Design
Multimedia
E-Business
Programming
Backend
Jobs
---------
About Webmonkey



<advertisement>

Lycos Domains
Lycos Domain Names
Get email forwarding, domain management tools, and more for just 9.95 a year!

</advertisement>



Sign up for Elbow Grease,
our newsletter.

Authoring   HTML Basics
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 only appear if you use the image as a link; however, you can deliberately create a border of any size around your image by using the <img border=#> tag, and replacing the # with a border size, from 0-99.

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

Our normal image, with the border unspecified has no border at all:

<img src="stuff/monkey.gif">

But we can add a border, using <img border=#>.

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

<img border=15 src="stuff/monkey.gif">

<img border=30 src="stuff/monkey.gif">


Got a handle on it? Now try it yourself.



Learn More
View Source
Paragraphs
Headlines
Links
Mailtos
Comment tags
Bold/Italics
Font color
Font size
Teletype
Blink
Preformatted text
Background image
Background color
Blockquotes
Line breaks
Aligning text
Adding/Aligning Images
Ordered lists
Unordered lists
Definition lists
Image borders
Wrapping text