My previous post regarding design for the iPhone continues to be a hot topic and now we're off to optimizing your HTML Code.
I wrote a post about optimizing your HTML code back in May of 2007 and over 2 years later this continues to be a primary factor in every web design we create. As far as we are concerned, clean HTML code is of paramount importance for a few very good reasons, not the least of which is good will towards your visitors!
Obvious reasons to optimize your HTML:
- About 9% of adults are still using dial-up for their Internet connections;
- Google is a busy search engine;
- Bing is a busy search engine;
- W3C Validators don't like old code;
- The online visitor represents a fickle, impatient audience.
Optimizing your HTML code:
The key to any optimization is to take a 2-phase approach to your work. The idea is to remove as much HTML code as is possible, leaving a high percentage of content to code.
- Centralize all formatting in linked style sheets.
- Centralize all javascript in linked files.
- Remove tables and use <div> layers for positioning.
This process will take some time but the dividends will pay off in spades. HTML code errors will drop to zero and your pages will load lightening-quick.
No comments:
Post a Comment