© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
J. BartlettProgramming for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-8751-4_7

7. Introduction to Cascading Style Sheets

Jonathan Bartlett1  
(1)
Tulsa, OK, USA
 

7.1 The Origin of Cascading Style Sheets

When HTML was first developed, it was entirely used for communicating information. HTML was originally built as an easy way to browse and view documents. Therefore, HTML documents were never pretty but were very functional. In addition, there was a direct match between the tag used and the purpose that the tagged text served in the document. For instance, <h1> tags meant that the given text was a main heading. If you were looking at the HTML code itself, ...

Get Programming for Absolute Beginners: Using the JavaScript Programming Language 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.