CSS Introduction


  • CSS represents Cascading Style Sheets
  • CSS causes Help HTML components to showed media screen etc.
  • CSS saves a ton of work. It can control the format of various site pages all at once
  • External templates are put away in CSS files

CSS Demo - One HTML Page - Multiple Styles!

Here we will indicate one HTML page showed with four distinctive templates. Snap on the "Stylesheet 1", "Stylesheet 2", "Stylesheet 3", "Stylesheet 4" interfaces underneath to see the diverse styles:

Why Use CSS?

CSS is utilized to essentially styles for your website pages, including the page format ,site page plan and screen measure

CSS Solved a Big Problem

HTML was NEVER expected to contain labels for designing a web page!

HTML was made to describe the content of a website page, like:

<h1>This is a heading</h1>

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

When labels like <font>, and shading ascribes were added to the HTML 3.2 determination, it began a bad dream for web engineers. Advancement of huge sites, where text styles and shading data were added to each and every page, turned into a long and costly process.

To take care of this issue, the World Wide Web Consortium (W3C) made CSS.

CSS expelled the style designing from the HTML page!

CSS Saves a Lot of Work!

The style are regularly spared in outer .css files.

outer .css record can change look of

With an outer template document, you can change the look of a whole site by changing only one file!