In the early days of the web (1990s), websites were built using only HTML. HTML was originally designed just to structure documents, not to style them. But as the internet grew, developers wanted more control over design elements such as colors, fonts, margins, and layouts.
At that time, HTML was overloaded with tags like <font>
, <center>
, and other presentation-based attributes. This made code bulky, hard to manage, and inconsistent across different pages. There was a strong need for a separate technology to handle styling. This is where CSS came in.
Leave a Reply