|
|
 |
Comp25:
HTML - Tables
Learning Objectives
- To use tables to enhance the appearance and functionality of your website in
a variety of ways
1 - Product Listing
- Open your products.html page for editing. Remember that
we recently added information about all of the products that you
sell. It's time to clean up the appearance of this page
using tables.
- Create a new table near the top of the page with code
similar to the following:
(Edit the <TABLE> and <TR> tags as shown in class if you prefer to
control the column widths: example: <table width="100%"> <th width=20%>)
- Copy-and-paste the second row from our sample as many times
as necessary to create additional rows for each of your
products. Preview your new table to make sure it looks
correct.
- Using the descriptions and images that you have already
written, transfer (using cut-and-paste) your previously written
content into the appropriate data cells (td). Each product
should end up in its own row.
- Create a four-digit product code
- Enter the product name
- Paste the description along with your bullet point
benefits
- Paste the product image
- Preview your completed table and correct any mistakes in
your code. Once you have transferred your product content
into the table, delete the original content.
- Using Paint or some other photo editing tool, edit your
product photos so that they are not super huge and look similar
to each other in size.
2- Table Styles
Enhance the appearance of your tables.
- Edit your existing style sheet with the following styles:
(NOTE: The colors are examples only --- use your own color
schemes and preferences.)

- After saving your style sheet, refresh your webpage to see
your table styled like the following:

- Edit your stylesheet to change the appearance of
your tables further. Refer to
the reading for additional table styles.
- Upload products.html to Blackboard when you are
finished.
Helpful Links
Tables Lecture
Tables
Reading
Grading Guidelines
This assignment will be graded using the following guidelines:
|
Grading Rubric: |
|
|
|
On-Time |
25% |
12.5 |
|
Accuracy |
50% |
25 |
|
Style / Creativity |
25% |
12.5 |
|
Total Points Possible: |
100% |
50 |
|