Image Borders

Section 1 - Introduction
Section 2 - Basics
      Your first page
      Formatting
      Text tricks
      Pictures
         Image Tag
         Alignment
         Spacing
         Resizing
         Alt Tag
         Borders
         Saving Pictures
         Gif and jpg
         Copyright
         You try it
      Links
      Backgrounds
Section 3 - Next Level
Section 4 - Advanced
Section 5 - Publishing
Section 6 - Extras
Appendices
Borders
Another way to modify a picture is to put a border around it. It looks like this:
<img src="floppy.gif" border="2">
That command would put a border around your picture two pixels wide. You can change the border to any width you'd like, including zero. This is very useful when you make pictures into links. We'll be discussing that next lesson. Here's the demo for you.
Code
<img src="floppy.gif" border="0">
What you see
Code
<img src="floppy.gif" border="1">
What you see
Code
<img src="floppy.gif" border="20">
What you see
Back Home Forward