Exercise 2: Lists and CSS Basic Styles
In this Exercise we will work with three different types of lists and learn some basic CSS to style our pages. Review DEMO & VIDEO pages as needed.
Watch: the step by step Videos Lectures for Exercise 2.
Read: Chapter 5 (about Lists), Chapter 11 (Introducing Cascading Style Sheets) in Learning Web Design. You do not have to test yourself.
Folder Name: Ex2
Number of Pages/Documents Required for Exercise: 4
You will create two pages of content which will each be used twice. Once each with no CSS styles and once with CSS Document and Inline styles added.
- Index.html page Use all three different types of lists (Unordered, Ordered and Definition Lists). Create at least 4 of each of the Unordered and Ordered Lists. Try out ALL the attributes and different values. Try nesting some lists. See the videos and demos for more information on this. Use at least 5 or more terms in the Definition Lists. Do not use CSS styles on this page.
- Page2.html Use the same content as your Index Page. Add CSS Document and Inline Styles to make the page interesting.
- Page3.html Review Exercise One. Create new content. Use the H (headline) and P (paragraph) elements that we covered in Exercise One to create a minimum of 5 different sized headlines and 5 paragraphs of content. Do not use CSS styles on this page.
- Page4.html Use the same content as your Page 3. Add CSS Document and Inline styles to make the page interesting.
Review the Exercise 2 demo pages and video lecture pages for more information. The more you experiment, the better you will understand the coding.
Page Content Suggestions: Create your own content, do not use mine from the videos or demos. For the index page, a grocery list, a To Do list, a list of your favorite foods, a step by step list explaining how to do something - a recipe works great for these.
For the Definition list - you could explain about the parts of something. Like a game, or ingredients in a recipe, types of food (definition and description).
For Page3 - Use the header tags and p or paragraphs to tell me about something you like to do, or where you work, or your pets (one of my favorite things to write about). At least 5 paragraphs and 3 or 4 headings and subheads.
Possible Points: 30