Monday, March 9, 2009

Web Design. Adding Web Graphics

Here is nice video I've found recently. I've got inspiration out of it when I was thinking about Web Graphics.


There are three general rules of thumb for creating and using great and usable Web graphics.

Keep them small
Small images download faster, and the faster your page downloads the more likely people will stay. A good maximum size for images is 10K.

Some ways to keep images small:
  • use JPeG images for photographs and GIF images for flat color pictures
  • crop the pictures to only include the important parts
  • with GIF images, use the fewest number of colors
  • with JPeG images, compress them as small as possible
  1. Resize them with your graphics program (not the browser)
    When you use the width and height attributes to resize your images, you slow down the time it takes the browser to render the page. The browser has to spend time determining how the display the image, and this is time that many people will simply leave your site.

  2. Always include descriptive alt text
    If your page has a lot of images, the alt text will display first, allowing your readers to know what is coming. Also, the alt text supports people with text browsers and audio browsers. Finally, you can use them to give more information about the image, such as copyright or credits.

To include an image you use the IMG tag. For correct HTML there is only one required attribute, the SRC attribute. This tells the browser where to find the image. However, to make your pages usable, you should also include the HEIGHT, WIDTH, and ALT attributes.

More basic tips about web design and other information on deep web search.

No comments:

Post a Comment