HTML and CSS Reference
In-Depth Information
Check out myPod's “index.html” file
Open up the file “index.html”, and you'll see work has already
begun on myPod. Here's the HTML so far:
We
thr
ew i
n som
e
Re
ady
Bak
e C
SS
here.
<html>
<head>
<title>
myPod
</title>
<style type="text/css">
body { background-color: #eaf3da;}
</style>
</head>
<body>
Ju
st t
ype t
his i
n for
now
. All
it d
oes
is giv
e
th
e pa
ge a
light
gre
en b
ackgr
ound
. We
'll be
ge
ttin
g to
CSS
in a
few
cha
pters
, pro
mise
!
This HTML shou
ld look familiar, as we're using
the basic building
blocks: <h1>, <h2>, and <p>.
<h1>
Welcome to myPod
</h1>
<p>
Welcome to the place to show off your iPod, wherever you might be.
Wanna join the fun? All you need is any iPod from the early classic
iPod to the latest iPod Nano, the smallest iPod Shuffle to the largest
iPod Video, and a digital camera. Just take a snapshot of your iPod in
your favorite location and we'll be glad to post it on myPod. So, what
are you waiting for?
</p>
<h2>
Seattle, Washington
</h2>
<p>
Me and my iPod in Seattle! You can see the
Space Needle. You can't see the 628 coffee shops.
</p>
</body>
</html>