Do you like to wait for a website to load? No and neither do your visitor like it. Here are some tips that will help you make your website faster
Use Divs instead of Tables for your website layout
- If you have a table based layout, then nothing will appear in the browser until the entire table is downloaded and rendered. An this may be very frustrating for the users.
- Generally browsers read the through the tables twice. Once for the table structure and another time to fetch its content.
- Table layout stored in each HTML page has to be downloaded each time a fresh page loads, but if you have a div based layout. You can store all the designing code in an external stylesheet. Which the browser can put in its cache.
- CSS probably requires less code that complex table structure.