Making a Web page load as fast as possible in the user's browser window should be on top of every webmaster's priority list. It does not matter whether the hosting environment is a dedicated server or a shared account. Everyone can optimize Web pages for speed. The results are often rewarding.
The HTML code of a Web page loads fast and the code itself is not likely to be a bottleneck, unless it is long and bloated with tables and nested objects. Images and multimedia content is a major factor concerning speed and loading time. Large images can take a long time to load and multimedia content such as SWF presentations can take even longer. Resizing an image and optimize it can increase loading time considerably according to our own experience.
Eliminating extra whitespace, cleaning table code, optimizing and resizing images, and including only the Java Script code a Web page actually needs will speed up Web page loading time, saves bandwidth and saves disk space. It is a win-win situation.