CSS Introduction || Bcis Notes


CSS stands for Cascading Style Sheets. CSS describes how HTML elements are to be displayed on a screen, paper, or in other media.



CSS saves time:  You can write CSS once and reuse the same sheet in multiple HTML pages.
Easy Maintenance:  To make a global change simply change the style, and all elements in all the webpages will be updated automatically.
Search Engines: CSS is considered a clean coding technique, which means search engines won’t have to struggle to “read” its content.
Superior styles to HTML: CSS has a much wider array of attributes than HTML, so you can give a far better look to your HTML page in comparison to HTML attributes.
Offline Browsing: CSS can store web applications locally with the help of offline catch. Using this we can view offline websites.


CSS Solved a Big Problem

HTML was NEVER intended to contain tags for formatting a web page. HTML was created to describe the content of a web page, like:

<h1>This is a heading</h1>

<p>This is a paragraph.</p>

When tags like <font>, and color attributes were added to the HTML, it started a nightmare for web developers. The development of large websites, where fonts and color information were added to every single page, became a long and expensive process. CSS removed the style formatting from the HTML page.


CSS Saves a Lot of Work
The style definitions are normally saved in external .css files. With an external stylesheet file, you can change the look of an entire website by changing just one file!

You may also like: HTML Basic Tag

Leave a Comment

Your email address will not be published. Required fields are marked *