HTML and CSS Reference
In-Depth Information
1
Highlight <!--Insert first rowspan
heading here --> on line 35.
all five Web page files
open in Notepad++ with
dining.html filename
highlighted because it is
the file currently open
Press the
t a b key twice and then
type <th rowspan=”3”>Lunch and
then press the e n t e r key; the next
line is automatically indented to the
same level.
inserted rowspan
to span three rows
<br /> tag used
to break to the
next line with
no blank line
<br/>Menu and
then press the e n t e r key.
Type
end table header
</th> as the HTML code
but do not press the e n t e r key
(Figure 4-40).
Type
What is the purpose of the <br />
tag in the steps above?
The <br /> tag moves the word
Menu to a second line so that the
first column is not too much wider
than the other columns in the table.
Figure 4-40
2
Highlight <!--Insert second rowspan
heading here --> on line 56.
Press the TAB key twice and then type
<th rowspan=”3”>Dinner and
then press the e n t e r key.
<br/>Menu and then press the
e n t e r key.
Type
</th> as the HTML code
but do not press the e n t e r key
(Figure 4-41).
Type
second rowspan
inserted that also
spans three rows
insertion point; do
not press ENTER
after typing
Figure 4-41
 
Search WWH ::




Custom Search