| Weeks 1-4 | Weeks 5-8 |
|---|---|
| 1. Intro to HTML | 5. Layout with CSS |
| 2. More HTML, file paths | 6. HTML Tables |
| 3. Site structure and navigation | 7. HTML Forms |
| 4. Formatting with CSS, Midterm | 8. Multimedia, Final |
| Weeks 1-5 | Weeks 6-11 |
|---|---|
| 1. Intro to HTML | 6. Layout with CSS |
| 2. More HTML, file paths | 7. CSS Grid and Flexbox |
| 3. Site structure and navigation | 8. HTML Forms |
| 4. Formatting with CSS | 9. Multimedia |
| 5. Midterm, Project Propposal | 10. Tables, Project Completion |
| 11. Final |
[Topics by Week for the Ten-Week Term]
Table of Contents
[TOC]
Tables are constructed using multiple elements (which means multiple tags). A table with two rows and three columns would be written in HTML like this:
<table>
<tr> <!-- tr = table row, this is the beginning of a row -->
<td>row 1, column 1</td> <!-- td = table data, this is a cell -->
<td>row 1, column 2</td>
<td>row 1, column 3</td>
</tr>
<tr>
<td>row 2, column 1</td>
<td>row 2, column 2</td>
<td>row 2, column 3</td>
</tr>
</table>
The table will be rendered in a browser like this:
<table
| row1, column 1 | row1, column 2 | row 1, column 3 |
| row2, column 1 | row2, column 2 | row 2, column 3 |
| . The following code can be placed above row 1 and provides headings for the columns: ```html | ||
|---|---|---|
| column 1 | column 2 | column 3 | ` element stretch across two rows. The *colspan* attribute is used to make a ` | ` element stretch across two columns. ```html |
| row 1, columns 1 and 2 | rows 1 and 2, column 3 | |
| row 2, column 1 | row 2, column 2 | |
| row 1, columns 1 and 2 | rows 1 and 2, column 3 | |
| row2, column 1 | row2, column 2 | |