Assignment 8: Due 11/1

Post date: Oct 27, 2010 4:11:56 AM

01 CSS Basic

    - Read CSS Introduction, CSS Syntax, CSS Id & Class and CSS How To

    - Answer the following questions:

        1. What is CSS? 

        2. List 3 parts of CSS syntax. 

        3. List 3 Methods to to insert a Style Sheet.

02 CSS Application: Reference

    - Watch video: CSS Tutorial Part 1

    - Watch video: CSS Tutorial Part 2

    - Watch video: CSS Tutorial Part 3

    - Watch video: CSS Tutorial Part 4

    - Task:

        1. Write the code in CSS file to define the body with background-color to be yellow, and text-align to be center. 

        2. Two classes are defined in CSS file as follows: 

            p.right {text-align:right}

            p.center {text-align:center}

        In corresponding HTML, apply these classes to set a paragraph to be aligned right, and another to be aligned center, as shown in following picture.

This is aligned right.

This is aligned center.

Note: Complete above assignment in a txt file, and upload it to 360 dropbox Assignment 8.