xv
6
Serious HTML
standards
and all that jazz
What else is there to know about HTML?
You’re well on your way to
mastering HTML. In fact, isn’t it about time we move on to CSS and learn how to make
all this bland markup look fabulous? Before we do, we
need to make sure your HTML
is really ready for the big leagues. Don’t get us wrong, you’ve been writing first-class
HTML all along, but there are just a few extra things you need to do to make it “industry
standard” HTML. It’s also time you think about making sure you’re
using the latest and
greatest HTML standard, otherwise known as HTML5. By doing so, you’ll
ensure that
your pages play well with the latest i-Device, and that they’ll display more uniformly
across all browsers (at least the ones you’d care about). You’ll
also have pages that
load faster, pages that are guaranteed to play well with CSS, and pages that are ready
to move into the future as the standards grow.
Get ready, this is the chapter where you
move from web tinkerer to web professional.
A Brief History of HTML
222
The new,
and improved, HTML5 doctype
227
HTML, the new “living standard”
228
Adding the document type definition
229
The
doctype
test
drive
230
Meet
the
W3C
validator
233
Validating
the Head First Lounge
234
Houston, we have a problem…
235
Fixing
that
error
236
We’re
almost
there… 237
Adding a
tag to specify the character encoding
239
Making the validator (and more than a few browsers) happy
with a
tag…
240
Third
time’s
the
charm?
241
Calling
all HTML professionals, grab the handbook…
244
Exercise
Solutions
251
Dostları ilə paylaş: