Friday, February 10, 2012

I am taking a web design class and having a problem with using inline embedded external on 3 paragraphs?

June 9, 2010 by  
Filed under web design classes

Write three paragraphs
The first paragraph should use inline styles.
The second paragraph should use embedded styles.
The third paragraph should use external styles.

I don’t understand how to apply each style to its own paragraph. Please help.

Comments

One Response to “I am taking a web design class and having a problem with using inline embedded external on 3 paragraphs?”
  1. ✞☠ Ron ☠✞ says:

    1) The first paragraph should use inline styles: Put the CSS inside the paragraph tag using the style=”" attribute.

    Example:

    Text here.

    2) The second paragraph should use embedded styles: The CSS is put between the “style” tags and those are placed between the “head” tags.

    Example between “head” tags:

    You can set this up with a selector name which uses an “id” or a “class”.

    3) The third paragraph should use external styles: This will use an external CSS file. Name it anything you want be use extention “.css”. No HTML allowed on that file. Then, between the “head” tags you will use the CSS link tag to link to the external file.

    I’ll let you work this one out. Uncle Google will help.

    CSS Precedence:

    1) External CSS file.
    2) Embedded CSS.
    3) Inline CSS.

    Ron

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

You must be logged in to post a comment.

Powered by Yahoo! Answers