Quackit Logo
FREE Hosting!
With every domain you register with ZappyHost you get FREE hosting.
Create free Flash websites

HTML Image Borders

Print Version

To change the appearance of image borders, you need to use CSS (Cascading Style Sheets). You can include CSS in your images using the style attribute of the HTML img tag. You can use the HTML code on this page to determine image borders within your HTML document.

Below are some examples of what you can do with HTML image borders using CSS.

Solid Border

This code results in:

Milford Sound in New Zealand

Dotted Border

This code results in:

Milford Sound in New Zealand

Grooved Border

This code results in:

Milford Sound in New Zealand

Double Border

This code results in:

Milford Sound in New Zealand

Thick Solid Border

This code results in:

Milford Sound in New Zealand

Outset Border

This code results in:

Milford Sound in New Zealand

Inset Border

This code results in:

Milford Sound in New Zealand

Ridged Border

This code results in:

Milford Sound in New Zealand

Dashed Border

This code results in:

Milford Sound in New Zealand

Mixed Border

This code results in:

Milford Sound in New Zealand

The above code uses the CSS border property which is shorthand for the various border properties (such as border-style, border-color etc. For more info, check out the various border properties on the CSS Properties list.

Enjoy this website?

  1. Add this page to your Favorites
  2. Link to this page (copy/paste into your own website or blog):
  3. Help support Quackit by making a donation

Oh, and thank you for supporting Quackit!

Need Website Content?
Get unique, quality digital content for your website.
  • 270+ Website Templates
  • 800+ Flash Templates
  • 25,000+ Images, Logos
  • 30,000+ e-Books
  • 15,000+ Scripts
  • 27,000+ Animated GIFs
  • 21,000+ Ringtones
  • ...and much more!
Get your content now!
$1.99 .info domain names!
© Copyright 2000 - 2010 Quackit.com