XHTML Lesson 5 CSS

Card Set Information

Author:
mal808
ID:
60252
Filename:
XHTML Lesson 5 CSS
Updated:
2011-01-17 11:41:34
Tags:
CSS HTML XHTML
Folders:

Description:
CSS notes from class
Show Answers:

Home > Flashcards > Print Preview

The flashcards below were created by user mal808 on FreezingBlue Flashcards. What would you like to do?


  1. What is CSS?
    • CSS stands for Cascading Style Sheet.
    • CSS allows web designers to set up pre-defined styles which can then be assigned to every page, or specific componants within that site.
  2. What types of CSS are there?
    • there are three styles of CSS:
    • Internal, external and inline.
  3. What order are styles applied?
    Browser, external CSS, internal CSS and inline.
  4. How are style rules formatted in the <head>?
    • <style type= text/css>
    • h1{font-size: 12; color: red}
    • </style>

    selector{property1: value; property2:value}
  5. What is a <div> tag and how is it used?
    • the <div> tag defines a division or section in a HTML document.
    • The <div> tag is often used to group block elements to format them with styles.
    • <div id="box">text in a box</div>
  6. .box {
    position: absolute;
    left: 100px;
    top: 150px;
    width:100%;
    height: 25%;
    border-style: dotted;
    border-color: blue;
    }
  7. The Box Model:
    • ---------
    • Margin
    • -----------
    • Border
    • -----------
    • Padding
    • -----------
    • Content
    • -----------

What would you like to do?

Home > Flashcards > Print Preview