Electric Type

Multimedia

About Us

News

Help

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="/images/bug.gif">

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

<img border=5 src="/images/bug.gif">

<img border=15 src="/images/bug.gif">

<img border=30 src="/images/bug.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



Tutorials  

Authoring  

Teaching Tools  

Backend  

Multimedia  

Design  

E Business  

User Blogs

Screen Shots

Latest Updates

Contact Us

Valid HTML 4.01!
Valid CSS!

Breadcrumb

© ElectricType
Maintained by My-Hosts.com
Site map | Copyright | Disclaimer
Privacy policy | Acceptable Use Policy
Legal information.