When you start coding for your website, you should be well aware of the following tips for a better website −
- Your site should meet all the quality requirements defined by W3C. Today we are using XHTML to develop any website. XHTML is just a cleaner version of HTML.
- You should keep validating your source code using W3C Validator.
- Do use appropriate comments but avoid using to many comments inside HTML files.
- Keep your style sheets and JAVA or VB scripts into separate files and then include them where ever is required.
- Do not use too much graphics in your web pages.
- Try to keep your web pages static instead of generating them dynamically.
- Make sure there is no broken link on any web page.
- Test your developed web page in major browsers like Internet Explorer, Firefox, Mozilla, Netscape, etc.
- Test your all the scripts for all the possible scenarios. Do not host any page without complete testing.