Different Css

The different types of CSS
Vincent Oliver
IT237
September 21, 2011
Nicole Mallory

The different types of CSS
      When speaking about Cascading Style Sheets also known as CSS one speaks about a language that eliminates all of the tedious effort. It is possible with CSS a web designer is able to create on or more documents that control the appearance of some or even all the pages of the Web site. CSS also allow the designer to format and revise an unlimited number of Web pages easily and efficiently. There have been different versions of CSS just like there have been different versions of HTML. Most browsers today support CSS version 2.1.
      CSS styles fall into three main categories: external, embedded, and inline.
      According to our text New Perspectives on Blended HTML, XHTML and CSS.
      “An external style is one in which you write the CSS code in a document separate from
the HTML for the Web page. External style sheets can format some or all of the pages at
your Web site. As such, external style sheets are the preferred method for writing CSS
code.”   (Bojack, 2010)
      “An embedded style is one in which you write the CSS code in the   section of
an HTML document. Embedded styles apply only to the one document in which they are
embedded.”   (Bojack, 2010)
      “An inline style is one that is written in the   section of an HTML document.
Inline styles format just a section of text within the   text.”   (Bojack, 2010)

Each of these styles types are applied to HTML code in different ways.
    • External CSS’s are input in a document separate from the HTML document.
    • Embedded CSS’s are input in the   section of an HTML document.
    • Inline CSS’s are input in the   section of an HTML document.

According to stackoverflow.com the pros and cons of external CSS are as follows:
    • Pros: easy to maintain and reuse across websites with more than 1 page.
    • Pros: cacheable=less bandwidth=faster page rendering after second page...