Chapter 4
Styling with CSS
Document structure and presentation style are two important, but largely independent, aspects of a webpage.
It is important for any website to have a well-designed style based on functionality, information architecture, and artistic visual communication design. As we have seen in the two preceding chapters, cascading style sheet (CSS) is used to specify the presentation style for a webpage.
HTML5 promotes the separation of document presentation from document structure. The focus of HTML5 is structuring documents so they can be processed automatically by programs. The HTML5 Document Object Model, an integral part of the HTML5 standard, provides exact requirements for browsers to formulate the DOM data structure and ...
Get Dynamic Web Programming and HTML5 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.