08 Css

  • STEP 1:What is CSS?
    CSS stands for Cascading Style Sheets. Styles define how to display HTML elements. Styles are normally stored in Style Sheets. Styles were added to HTML 4.0 to solve a problem.

    STEP 2:CSS Syntax
    The CSS syntax is made up of three parts: a selector, a property and a value Styles define how to display HTML elements

    STEP 3:selector Syntax
    tag Selector
    class Selector
    id Selector

    STEP 4:CSS Pseudo-class

    STEP 5:CSS Properties
    (1)CSS Background Properties
    (2)CSS Text Properties
    (3)CSS Font Properties
    (4)CSS Units
    (5)CSS Border Properties (Box Model)
    (6)CSS Margin Properties (Box Model)
    (7)CSS Padding Properties (Box Model)
    (8)CSS Positioning Properties (Box Model)
    (9)CSS Classification Properties

    STEP 6:How to Insert a Style Sheet
    (1)External Style Sheet
    (2)Internal Style Sheet
    (3)Inline Styles

    STEP 7:The Web Site Was Validated