HTML and CSS Reference
In-Depth Information
Table 2-2 Initial HTML Tags
Line
HTML Tag and Text
1
<!DOCTYPE HTML>
2
3
<html>
4
<head>
5
<meta charset="utf-8“ />
6
<title>Rock Climbing Fun</title>
7
</head>
The following steps illustrate how to enter the initial tags that define the structure of the Web page.
1
Enter the HTML code
shown in
Table 2-2
(Figure 2-6).
Press e n t e r
at the end
of each
line. If you
make an
error as you are typing,
use the b a c k s p a c e
key to delete all the
characters back to and
including the incorrect
characters, and then
continue typing.
DOCTYPE
statement
start
<html> tag
<meta> tag
start <head>
and end
</head> tags
words that
display in
title bar
insertion
point
Press the
e n t e r key
to start the next line
of code, leaving one
blank line after the
</head> tag.
Compare what you
typed to Figure 2-6. If
you notice errors, use
your mouse pointer or
arrow keys to move the
insertion point to the right of each error and
use the b a c k s p a c e key to correct the error.
Figure 2-6
 
Search WWH ::




Custom Search