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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access