Skip to Content
Head Rush Ajax
book

Head Rush Ajax

by Brett McLaughlin
March 2006
Beginner to intermediate
448 pages
13h 33m
English
O'Reilly Media, Inc.
Content preview from Head Rush Ajax
the document object model
<html>
<head>
<title>
Webville Tree F
a
rm
</title>
</head>
<body>
<h1>
Webville Tree
F
arm
</h1>
<p>
Welcome to the W
ebville
Tree Farm.
We’re stil
l
learning
about CSS, so
pardon our
plain
site. We just b
o
ught
<a href=
”http://ww
w.headr
stlabs.com/book
s/
hfhtml/
”>
Head First HTML
with CS
S &amp; XHTML
</a>
,
though, so
expec
t great things
soon.
</p>
<p>
You can visit u
s at the
corner of
Binary Blv
d.
and D
OM Drive. Come
check
us out tod
ay!
</p>
</body>
</html>
body
html
head
title
“Webville Tree Farm”
h1
p
p
a
“Webville Tree Farm”
“Head First HTML with CSS & XHTML”
“, though, so expect great things soon.”
“Welcome to the Webville Tree Farm.
We’re still learning about CSS, so
pardon out plain site. We just bought “
“You can visit us at the corner of
Binary Blvd. and DOM Drive. Come
check us out today!“
<html> is the root
element. Everything else
branches out from it.
Eventually, the tree
ends in leaves, which
often are just pieces
of text in the HTML.
Each bit of markup can have
any number of children.
Sometimes an element
has several children...
...and other times,
an element has
only one child.
Text is represented in the
tree, as well as elements.
When you’re showing the
elements in a tree, you
usually leave off the
angle brackets, < and >.
Here’s the HTML that
this tree represents.
How the browser sees your HTML (part 2)
214
Chapter 4
Q:
Do I need to reference ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer
How to Become a Game-Changing Leader

How to Become a Game-Changing Leader

Douglas A. Ready, Alan Mulally

Publisher Resources

ISBN: 0596102259Errata PageSupplemental Content