LESSON 02 – GETTING READY FOR CSS

 

USING <p> TAG

 

White spaces in HTML are ignored.  That really means two things:

 

 

CONSISTENCY

 

It is very important that professional websites be consistent.  Graphics should all match.  The text should always be the same.  The headings should all match.  The subtitles should all match.  The way images and tables are presented should all match. 

 

And, making sure this happens is a fair bit of work. 

 

THE NIGHTMARE

 

Most web designers work for companies that are not related to the world of computing.  Therefore, many times, a web designer’s boss is not a computer savvy person. Every now and then you hear of a story where a web designer almost pulled out his/her hair because their boss decided:

 

“I love everything you’ve done with the website.  But I’d prefer it in blue please.”

 

CSS was invented to help web designers in those situations!

 

WHAT IS CSS?

 

CSS allows you to control the look of an entire website inside one single file – a .css file. 

 

CSS stands for Cascading Style Sheet.  I really think the person that came up with that name just wanted something that sounded cool.  Here is the breakdown of the name:

 

            Cascading – You can use CSS at different levels or locations.

            Style – The way your document is presented.

 

            Sheet – The list of CSS rules to be applied to a website.