Preview

CSS Description Types

Satisfactory Essays
Open Document
Open Document
427 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
CSS Description Types
CSS Description Types paper

The three types of CSS are internal (embedded) styles, inline styles, and external styles. Internal Styles are placed inside the section of a particular web page via the style tag. These styles can be used only for the web page in which they are embedded; therefore, you would need to create these styles over and over again for each web page you wish to style. PROS: All CSS is in one place in the web page: in in the . Good to use when one page has different styles than all the other pages (which are linked to the external style sheet). CONS: Internal is redundant, because you need to have it in every web page file. If you want to change a style throughout a website, you’ll need to change the style in every section of every page… You should try to avoid using internal CSS as much as possible!

Inline CSS is embedded into individual html tags; they are “local” to a single tag. Inline CSS is a blend of CSS and HTML: it uses html syntax to define css styles as an attribute of the html tag. Inline CSS is first in order of preference; it overrides both internal and external styles.
PROS: Good for when you want to apply a certain style to just one or a few tags. Inline CSS gives you the most specific local control.
CONS: Defeats the purpose of separating the content and logical code from the style, because the CSS is “all mixed up” with the HTML code.

External Styles are defined on the external style sheet, which is linked to the web pages. External styles are the best choice to use because it allows a separate file that contains only CSS styles, no html. File called a “style sheet.” A tag in the section of a web page links to the style sheet file. External style sheet settings can be “overridden” by internal and inline CSS; external style sheets are the last in the order of preference.
PROS: One style sheet can define style for many web pages or an entire website. Change settings in the style sheet

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Using the links below and Internet research, list the usage for each of the HTML tags in the table below.…

    • 242 Words
    • 1 Page
    Satisfactory 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
  • Good Essays

    14fa MIDTERM

    • 882 Words
    • 5 Pages

    5 On a link statement to an external CSS file, which keyword is used after the media attribute to indicate that the CSS file should be used when the web page will be viewed on a computer screen or monitor?…

    • 882 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Pros: Naturalistas are in love with this styler that gives long-lasting results and really does add definition and moisture. Another plus is the scent… Mmmm tropical coconut and hibiscus.…

    • 802 Words
    • 4 Pages
    Good 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
  • 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
  • Powerful Essays

    So, first I would like to talk about the pros. Some pros are as follows:…

    • 1262 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    2. Writing style, format and layout notes explain the editorial or visual rationale for the element.…

    • 712 Words
    • 3 Pages
    Good 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
  • 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
  • Satisfactory Essays

    List five advantages and five disadvantages of using case structures to program multiple alternative decisions…

    • 303 Words
    • 2 Pages
    Satisfactory Essays

Related Topics