APPENDIX AHTML5 and CSS Coding-Style Conventions
This appendix describes HTML5 and CSS3 coding-style conventions. Most of these guidelines are widely accepted, but alternative guidelines do exist in certain areas. One way we ensure that our guidelines are followed is by going along with the 500-pound gorilla that is Google. For the most part, we match Google’s HTML/CSS Style Guide document at:
https://google.github.io/styleguide/htmlcssguide.html
We attempt to present HTML coding practices that conform to the spirit of the HTML5 standard. For an overview and a short conceptual discussion of such practices, ...
Get Web Programming with HTML5, CSS, and JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.