Pages

Wednesday, June 4, 2014

CSS Introduction for beginner


 

What is CSS?

  • CSS stands for Cascading Style Sheets
  • Styles define how to display HTML elements
  • Styles were added to HTML 4.0 to solve a problem
  • External Style Sheets can save a lot of work
  • External Style Sheets are stored in CSS files    

 Styles solved  an enormous drawback

HTML was never meant to contain tags for format a document.
HTML was meant to outline the content of a document, like:
<h1>This is a heading.</h>
<p>This is a paragraph</p>
When tags like <font> and color attributes were further to the markup language 3.2 specification, it started a nightmare for net developers. Development of huge internet sites, wherever fonts and color data were further to each single page, became an extended and pricey method.
To solve this drawback, the planet Wide net syndicate (W3C) created CSS3.
In HTML 4.0, all format may well be far from the markup language document, and hold on in a very separate CSS file.
All browsers support CSS these days.

CSS Saves lots of Work!

CSS defines however HTML parts area unit to be displayed.

Styles area unit unremarkable saved in external CSS files. External vogue sheets alter you to alter the looks and layout of all the pages during a site, simply by redaction one single file!

No comments:

Post a Comment