As we learned in the last advanced article, CSS or Cascading Style Sheets, can be used with XML to allow XML documents to be displayed in a Web browser. But how do you actually create a style sheet?

There are three parts of a style sheet:

  • selector
    the element or class and id title to which the style will be applied
  • property
    the information on how to format the selector
  • value