Be HTML compliant. Follow the proper HTML standards and check whether your website is HTML-compliant, to make sure that your website is displayed correctly in all browses. Different browsers display HTML and CSS in subtly different ways, while some browsers can veer wildly from the standards.
The more complex your markup and CSS, the more there is to go wrong with your site. Keep your layout simple at the design stage: a header, a couple of side-by-side columns, and footer. Don’t use too many nested elements in your markup, and use the right element for the job. Use ul and li elements to create a menu; don’t use a table or a series of p elements.
Run your HTML and CSS through valuators’ before uploading your site. Valid code might not make your page magically work in all browsers, but invalid code can produce all sorts of unpredictable and hard-to-debug problems.





You must log in to post a comment.