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

  • 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
  • Good Essays

    Nt1310 Final Exam

    • 746 Words
    • 3 Pages

    The ____ code sets the style so that the Web page element remains constant and does not move.…

    • 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
  • 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
  • Good Essays

    The movie “Walkout” is a movie that tells the story of students who struggle in the high school rights that are given to them. The students boycotted the high schools to improve their way of education. This money was an interesting movie that showed the history of “Chicanos” who are also known as people of Mexican descent. The movie did a great job in showing the struggle that the Chicanos had to go through so they could improve the quality of education that was given to them. One part that I especially love about the movie is when the main protagonist of the movie “Paula Crisostomo” was told by her father to never join a boycotting group as it could change her way opportunities. Paula continuously tries to talk with a group of people who want…

    • 245 Words
    • 1 Page
    Good 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

    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
  • 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

    WFV1 Notes

    • 4474 Words
    • 16 Pages

    Html css alignment Site Development Associate v2.0, Lesson 5: HTML Tables, section "CSS Properties for All Table Elements.”…

    • 4474 Words
    • 16 Pages
    Good Essays
  • Powerful Essays

    • Set the style for one or more sections. Refer to pp. 218–220 & 226 of New Perspectives on Blended HTML, XHTML, and CSS.…

    • 1146 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    For developers, coding within the web standards can minimize both development time, code maintenance time, and can ensure increased visibility in various search engines. One of the many standardized tags used in HTML is the tag. Meta tags do not have an effect on how a web page is displayed nor does this information appear to the user; although it can provide information or description about a web page. This information provided is used by search engines, such as Google and Bing, to better understand what your site is about in order to list on search results. According to (Kyrnin, 2013), “Focus on one phrase that really captures what your page is about, and make sure that that phrase is repeated in the content, the headlines, and links within the page.” Using effective tags can help promote accessibility and search engine optimization resulting increased visibility.…

    • 425 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

Related Topics