AllFreePapers.com - All Free Papers and Essays for All Students
Search

Css Description Types Checkpoint

Autor:   •  December 24, 2012  •  Essay  •  392 Words (2 Pages)  •  1,581 Views

Page 1 of 2

Embedded Style

"An embedded style is one in which you write the CSS code in the <head> section of an HTML document. Embedded styles apply only to the one document in which they are embedded", (Bojack, 2009, p. 58). Typically embedded styles are used in a Web page rather than a site with many pages. This is because if a developer puts many embedded styles, it takes a long time to change each style. Embedded styles cannot be changed globally, meaning each embedded style needs to be changed individually, color, font size, and heading type, instead of all being changed at once.

Inline Style

'An inline style is one that is written in the <body> section of an HTML document. Inline styles format just a section of text within the <body> text', (Bojack, 2009, p. 58). Meaning, inline styling only format the text that lies in between the <body> code. It affects the color of the text and background of the text along with font style, size, italics, and heading type to name a few. One must be careful when changing the colors of the text and the background color. A white background with black text works well but a blue background with a lighter blue text color will make the page to hard to read.

External Style

'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, 2009, p. 58). If all the text in a Web site pages are linked to an external style sheet, the web developer can change the whole entire look of a site with an adjustment of one external style sheet rather than go and change a mountain of code.

Good Better Best

Inline style is fine if a developer

...

Download as:   txt (2.1 Kb)   pdf (55.3 Kb)   docx (10.3 Kb)  
Continue for 1 more page »