Preview

Cascading Style Sheets

Satisfactory Essays
Open Document
Open Document
435 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Cascading Style Sheets
CCS Description Type
IT237
March 22, 2012
Prof. Brooke

CCSD Cascading Style Sheets, also referred to as, CSS are created so developers are able to separate the design from the content. This process allows HTML to do the markup of the content and the developer does not have to worry about the layout. CSS are separated into one of three different categories, which are as follows: external, embedded, and inline CSS. Each type of CSS has pros and cons, it really depends upon the situation. Inline CSS are applied in the middle of the HTML code and only apply to whichever line it is inserted into. Inline CSS also has the highest priority which means it will override any other CSS that is already in place for that individual line. Since developers do not have to worry about creating a new document or edit CSS in the head of the document, it makes Inline CSS quick and easy to use. However, the ease of Inline CSS can also be considered a disadvantage. If using this CSS, every single line of code will have to be edited. Inline CSS cannot perform complex styles like the visited, active, or link color of an anchor tag. Embedded CSS are placed at the head of the document and will only affect the page that the style is placed on. Embedded CSS can have a higher priority than External CSS if they are placed after the link to the external style. Just as Inline CSS there are no external files to load as the style is placed directly on the page affected. There are two large disadvantages of Embedded CSS. One is that Embedded CSS can only affect the page the style is placed upon. The second is the increased load time because the style has to be loaded and parsed for every page viewed. The third type of CSS is External CSS. This is the most preferred method because it keeps the CSS separate from the HTML by placing the CSS in a separate file. This enables the developer to change the look of several pages without coding each page; one would only have to



References: Bojack, H. (2008). New perspectives on blended HTML, XHTML, and CSS: Introductory. Boston: Course Technology. Retrieved: April 6, 2011

You May Also Find These Documents Helpful

  • Good Essays

    Nt1310 Final Exam

    • 746 Words
    • 3 Pages

    If you have several Web pages and need a consistent style that can be easily updated, __________ is a good choice.…

    • 746 Words
    • 3 Pages
    Good Essays
  • Good Essays

    It237 Week 2 Checkpoint

    • 414 Words
    • 2 Pages

    Last, I will be describing the inline cascading style sheet as well as a pro and a con for it. An inline style sheet is in which the CSS or cascading style sheet code is written directly on the element in which it affects. One of the pros to using inline style is that it has the highest precedence. This is simply put that no matter what these are going to be applied. Another pro is that they are easily added to a document and you do not have to create an entire new document. One con to using the inline type is…

    • 414 Words
    • 2 Pages
    Good Essays
  • Good Essays

    External CSS is a file that contains only CSS code and is saved with a .css file extension. In your HTML you will use the <link> not the <style> tag to insert the style sheet. The code would look like this:…

    • 520 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Nt1330 Final Exam

    • 2055 Words
    • 9 Pages

    The term cascading is used because designers can apply many style sheets to the same Web page, one on top of the other.…

    • 2055 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    HTML is currently in its fifth revision or HTML53. With HTML5 a standard is set for how to display the web page; where pictures are displayed, fonts used for text and total layout of the page. XML (extensible markup language) is used for web documents. CCS (cascading style sheet) is written into the HTML document or attached as a file to define the appearance of the displayed page.…

    • 897 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Ap Calculus

    • 2722 Words
    • 11 Pages

    | A defined set of formatting characteristics, such as font, font size, font color, cell borders,…

    • 2722 Words
    • 11 Pages
    Powerful Essays
  • Satisfactory Essays

    What is a style guide? Is adhering to a style guide important? Why or why not?…

    • 319 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    unit3lab1

    • 7639 Words
    • 49 Pages

    Write a one-page paper explaining how to use those tags. Include a short example of an HTML page that properly uses the three tags.…

    • 7639 Words
    • 49 Pages
    Satisfactory Essays
  • Good Essays

    WFV1 Notes

    • 4474 Words
    • 16 Pages

    Jpeg/png/gif Site Development Associate v2.0, Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements, section "Images in Web Pages.”…

    • 4474 Words
    • 16 Pages
    Good Essays
  • Powerful Essays

    • Use the tag to create four sections in at least one of the pages. Refer to Figure 5-3 on p. 215 of New Perspectives on Blended HTML, XHTML, and CSS for ideas. Add content to each section.…

    • 1146 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    The purpose and importance of a style guide is to create a standard and unify a form to help people who write a variety of things. It is time saving in a manner that you already know how it has to be formatted so you know what needs to be put in it. It also is a plus when things are formatted due to it being consistent throughout all papers. It shows professionalism because it is neat and well formed. When format is not used, there is chance on the paper looking unfinished and cluttered. If you have inadequate spacing and indentations are offset then your paper will suffer. When…

    • 391 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Web standards include recommendations for HTML, XHTML, Cascading style sheets, Dom, and the standardized version of…

    • 425 Words
    • 2 Pages
    Good Essays
  • Good Essays

    223. What tag would you use in your HTML document to change the color of your text?…

    • 376 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    life

    • 316 Words
    • 2 Pages

    I kind of like how you can create your own style in your own way and also you can you use Graphic style libraries to sort or pick different styles. You select, sort, and view items in a graphic style library the same as you do in the Graphic Styles panel. But the disadvantages of it are that you can’t add items to, delete items from, or edit the items in graphic style libraries.…

    • 316 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    What are the advantages of external cascading style sheets (CSS) compared to internal CSS and the embedded ? Explain situations in which each is the appropriate type. Given these situations, which type do you think would be more useful for the majority of web pages?…

    • 426 Words
    • 2 Pages
    Satisfactory Essays

Related Topics