04.06.2013 Views

Head First HTML with CSS

Head First HTML with CSS

Head First HTML with CSS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

validating xhtml<br />

Exercise<br />

278 Chapter 7<br />

You didn’t think we’d let you off the hook<br />

<strong>with</strong>out validating your X<strong>HTML</strong> did you?<br />

Validate the “lounge.html” file in the<br />

“chapter7/lounge” folder, and the<br />

“journal.html” file in the “chapter7/journal/”<br />

folder (the one you turned into X<strong>HTML</strong> a<br />

couple of pages ago) at the W3C. If you<br />

see any errors, check your typing, get<br />

them fixed, and try again.<br />

Congratulations,<br />

you’ve just written<br />

your first X<strong>HTML</strong>!<br />

You’ve done it: you’ve transitioned<br />

your <strong>HTML</strong> over to X<strong>HTML</strong>. While<br />

your markup doesn’t look much different,<br />

there’s a whole new set of possibilities<br />

coming down the road for X<strong>HTML</strong><br />

documents. And, even better, you’ve<br />

adopted a whole technology that isn’t that<br />

much different from what you already know. Now’s<br />

the time you can go tell all your friends you’re already<br />

using X<strong>HTML</strong> (we won’t tell them there isn’t much of a<br />

difference between <strong>HTML</strong> and X<strong>HTML</strong> if you don’t).<br />

Oh, and if we haven’t said so already, X<strong>HTML</strong> is just<br />

as compatible <strong>with</strong> <strong>CSS</strong> for styling, and you’re just a few<br />

pages from adding your first style to an X<strong>HTML</strong> page.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!