The programmer may have as many "alternate" classes to a tag as he/she wants. This becomes very useful when designing very complex webpages. Inheritance is also very import as it can make programming a page very simple or very comfusing. The pages below show in detail how classes and inheritance works.

For classes all the programmer has to do is define the tag in CSS just like any other tag. The only difference is after the tag, say p, the programmer places: p.[programmer wanted name] {}. This allows the programmer to call thes alternate classes whatever he/she wants. Here is what the page looks like.

code

      Here is another simple page, but this page has the entire body font set to Georga. This way the programmer dose not need to set every tag to Georga. This way the programmer dosn't have to assign a different style to every tag. Here is a example page.

CSS Same as above.