HTML and CSS Reference
In-Depth Information
Tells
the browser this is the start of HT
ML.
<html>
Starts the page “head”.
<head>
Gives the page a title.
<title>
Head First Lounge
</title>
End of the head.
</head>
Start of the body of page.
Tells
browser that “Welcome to…” is a he
ading.
<body>
<h1>
Welcome to the Head First Lounge
</h1>
<img src="drinks.gif">
Places the image “drinks.gif” here.
Start of a paragraph.
<p>
Join us any evening for refreshing elixirs
,
conversation and maybe a game or
Puts emphasis on Dance Dance Revolu
tion.
two of
<em>
Dance Dance Revolution
</em>
.
Wireless access is always provided;
BYOWS (Bring your own web server).
End of paragraph.
Tells the browser that “Directions” is a
subheading.
Start of another paragraph.
</p>
<h2>
Directions
</h2>
<p>
You'll find us right in the center of
downtown Webville. Come join us!
End of paragraph.
</p>
</body>
End of t
he body.
Tells the browser this is the end of
the HTML.
</html>