The Code Example 1 shows that you can change the header tags in HTML to always have a consistent font
family attribute. This font family is set to veranda, arial, and sans serif.
You may list as many tags as you would like before declaring what attributes are tied to the tags. The second
part of the listing shows the tags <p>, <table> and <li> all have the set font family and a margin to the
CSS Cheat Sheet
Save Yourself Time
Style sheets do the same as the font and color tag attributes. Style sheets are the new standard that HTML
should be using. By using CSS you can easily change the look and style of your entire website by just changing
a few lines in the CSS. If CSS were not used, in order to change the look of your website you would have to go
through all the HTML code and change every place where fonts, colors, or any other formatting edits are
CSS is powerful when developing websites because you can control the style and layout of multiple pages all at
once. Another powerful use of CSS is that you can use them internally and externally to a website.
What is CSS?
• CSS stands for Cascading Style Sheets
• Styles define how to display HTML elements
• Styles are normally stored in Style Sheets
• Styles were added to HTML 4.0 to solve problems
• External Style Sheets can save you a lot of work
• External Style Sheets are stored in CSS files
• Multiple style definitions will cascade into one 
CSS Solves Style
HTML tags were originally designed to de-
fine the content of a document. They were
supposed to say "This is a header", "This is a
paragraph", "This is a table", by using tags
like <h1>, <p>, <table>, and so on. The lay-
out of the document was supposed to be taken
care of by the browser, without using any for-
matting tags .
As Netscape and Internet Explorer continue
to add new HTML tags and attributes (like
the <font> tag and the color attribute) to the
original HTML specificatio