HTML and CSS Reference
In-Depth Information
KPAF airs the national and local news at 6:00 and 6:30, respectively, every night of
the week. You'll use table data cells to insert the names of the KPAF programs.
To place an empty
table cell anywhere
within a row, insert the
<td>&nbsp;</td> tag
into the row.
To insert table data for the next two rows of the table:
1. Within the second table row, add the following seven td elements after the initial
th element:
<td>National News</td>
<td>National News</td>
<td>National News</td>
<td>National News</td>
<td>National News</td>
<td>National News</td>
<td>National News</td>
2. Within the third table row, insert another seven td elements after the initial
th element:
<td>Local News</td>
<td>Local News</td>
<td>Local News</td>
<td>Local News</td>
<td>Local News</td>
<td>Local News</td>
<td>Local News</td>
Figure 5-5 shows the newly inserted HTML code.
Figure 5-5
Inserting table data
table data
3. Save your changes to the file, and then refresh the schedule.htm file in your Web
browser. Figure 5-6 shows the current appearance of the program schedule. The
headings are in bold and centered, and the table data is in a normal font and
left-aligned.
Search WWH ::




Custom Search