Css Description Type

Submitted by: Submitted by

Views: 609

Words: 363

Pages: 2

Category: Science and Technology

Date Submitted: 01/16/2011 01:54 PM

Report This Essay

There are three types of CSS styles: external, embedded, and inline. Each type of CSS style has a specific area in which the code is written as well as effecting different portions of the web site or text.

An external style is a type in which the CSS code is written in a document that is separate from the web page. External style sheets can apply to one or all of the pages of a web site. Having the style sheets separate from the html code allows for easier modification or changes to the design. In an external style sheet, the designer can specify standards that they would like to use through out the entire site. One negative about using external style is that the designer may run into conflict with the embedded or inline style in the web site.

Embedded style applies style into a web page. The designer would write the CSS code in the section of the HTML code. The embedded style would be useful in the design phase of a web site. After the testing of the site is complete, the designer may create an external CSS style sheet to format the web site. When using embedded style sheets, the web page itself will load faster. One negative about using embedded style sheets would be the overuse of embedded style will limit the ability to apply changes later on using an external style sheet.

Inline style applies to a word or to a section of text. Inline style overrules external and embedded styles. To use inline style, one would place to code within the tag in the HTML document where one would wish to make an effect. It can make the design easier on the designer when he or she can see the style directly inside the tag where the effect is to be made. A negative about inline styles would be that over use of them in a web page will result in not being able to apply style through the use of external sheets.

While each style is different, when they are use properly together, they can be of great assistance in developing a web site.