|
|
|
|
Web Master Tricks
Here you will find some useful tricks and guidelines for using Graphics & Colors on your web site. You will learn the importance of using the Height, Width and ALT tags. Learn the importance of shrinking (optimize) your graphics, and links to free services. Codes for aligning your graphics. Using the full BODY tag elements. Using colors and color charts, backgrounds and colors, and where to find free graphics for your site. Using a small graphic image (thumbnail) as a link to a larger graphic image.
[ Graphic formats | Using Colors | Backgrounds & Color | Free Graphics ]
With sizing tags, a browser can download the text of the page, note the image sizes and know the page layout right away. Your page text will be visible to your visitors while the graphics continue to load.
Without sizing tags, a browser must download all of the text and graphics before it can learn the layout of your page and format it correctly. Nothing is displayed until ALL text and graphics can be determined and placed in the proper format. This can take time and leave a blank page for your visitors to view until the process is complete.
The ALT tag provides a description of the image while your graphics are waiting to be displayed. Non-graphical browsers will view the ALT tag as a description of the images. This would be very important should the graphic be a means of navigating your site. Be sure to include a suitable description for your graphic rather then the name of the graphic file; as some WYSIWYG programs seem to insert. The ALT tag should describe what the graphic is showing or what it is linking to; as the case may be. Using brackets allow non-graphical browsers to differentiate between the graphics and text on your page.
Sample:
Height and Width are expressed in pixels and not the number of bytes!
Very important! Always optimize your graphics so your pages will load quickly. This should be done with ALL the graphics on your site. There are several free services available to optimize your graphics. Note: This does not shrink the actual size, but rather changes the amount of colors being used for the graphic. You are provided with several choices and are then able to choose which one remains as close to the original in looks.
Image maps should also be user friendly by providing text-only links either above or below the actual image map. For the actual image map you would then use the ALT tag as: ALT="[.]" so that they would only see a dot. To leave the ALT tag blank bu using ALT="" as some suggest as it would create an error when validating your code being considered an empty tag element.
Optimize (shrink) Your Graphics with one of the following Free Services:
Additional Graphic resources can be located within our:
[ Back to Top | Home ]
Copy & Copyright (c) 1998 - 2006 Creative Computing
| ||||||||||||||
|
Home
HTML Validation CGI Tips Web Security Search Engines Spam Mail
Online Services
Site Resources
|