CHAPTER 4 Introduction to CSS
In the past, much of the visual formatting of Web pages was supplied by markup elements, squarely mixing the concepts of logical and physical markup into the mess that is classic HTML. Strict variants of (X)HTML deprecated the elements and attributes that focused on presentation, providing a clear distinction between the structure provided by markup and the look dictated by a style sheet written in Cascading Style Sheets (CSS) syntax. The distinct division of duties between markup and style can provide numerous production, maintenance, and even performance benefits, making it a far superior presentation solution to markup alone.
Presentational HTML
Traditionally, for right or wrong, markup has been used for formatting. ...
Get HTML & CSS: The Complete Reference, Fifth Edition, 5th Edition 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.