Archived posts, November 2010
HTML5 syntax guidelines
A few guidelines that will help you produce understandable and maintainable HTML5. Executive summary: stick to the syntax rules of XHTML.
Beware of -webkit-text-size-adjust:none
Think very carefully before using -webkit-text-size-adjust:none since it will prevent people using WebKit-based browsers from resizing text. Needless to say, that is not user-friendly.
HTML5 allows almost any value for the id attribute – use wisely
HTML5 allows almost anything as the value for the id attribute. This opens up possibilites but can also lead to bugs and maintainability problems unless used wisely.