Zingtech
Wireless Home Networking Game Programming

Ethernet Networking

 


zingtech.com
Web

 

 

 

 

HTML Optimization Tips


1. Fewer Colors in Images
If an image is simple and has few colors like a button or plain text, try to convert it to use less colors. Use 16 colors (4 bit) if you can, and 256 (8 bit) for everything else. Avoid 16bit and higher because this will dramatically increase image size. Look at this example for a 100x100 image:
4 bit = 0.5 K
8 bit = 1 K
16 bit = 2 K
32 bit = 4 K
2. Use HEIGHT and WIDTH Tags in IMG Tags
Always use HEIGHT and WIDTH tags in all of the IMG tags. Web browsers try to lay out the entire webpage first and then insert the images whenever they get downloaded. Some web browsers will stop laying out the page if an IMG tag does not have the HEIGHT and WIDTH tags. By including the HEIGHT and WIDTH tags, the html part of your page will show up and be viewable, long before all the images load.
3. Code HTML Files by Hand
If at all possible, if you have the experience, code your HTML files by hand using a text editor. Don't rely entirely on a WYSIWYG editor! Coding by hand will give you greater control over your files and will keep them small and fast, just what visitors want.

 

<< Back to HTML Design

Questions? Comments? Share your thoughts on the Discussion Forums...


Google
 
Web zingtech.com
Unless otherwise noted, all contents are copyright © 1997 through 2007 Zingtech Computer Solutions and Michael Matczynski (). All rights reserved. If you have any questions or comments regarding this site, contact the webmaster or consult the legal disclaimer.

Check out wineries at Catch Wine.com:
Alabama Wineries - Alaska Wineries - Arizona Wineries - Arkansas Wineries - California Wineries - Colorado Wineries - Connecticut Wineries - Delaware Wineries - Florida Wineries - Georgia Wineries - Hawaii Wineries - Idaho Wineries - Illinois Wineries - Indiana Wineries - Iowa Wineries - Kansas Wineries - Kentucky Wineries - Louisiana Wineries - Maine Wineries - Maryland Wineries - Massachusetts Wineries - Michigan Wineries - Minnesota Wineries - Mississippi Wineries - Missouri Wineries - Montana Wineries - Nebraska Wineries - Nevada Wineries - New Hampshire Wineries - New Jersey Wineries - New Mexico Wineries - New York Wineries - North Carolina Wineries - North Dakota Wineries - Ohio Wineries - Oklahoma Wineries - Oregon Wineries - Pennsylvania Wineries - Rhode Island Wineries - South Carolina Wineries - South Dakota Wineries - Tennessee Wineries - Texas Wineries - Utah Wineries - Vermont Wineries - Virginia Wineries - Washington Wineries - West Virginia Wineries - Wisconsin Wineries - Wyoming Wineries