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.

If my <strong>HTML</strong> is<br />

transitional 4.01, and I want<br />

to switch to X<strong>HTML</strong> strict,<br />

then I have a little more work<br />

to do, right?<br />

Right. The checklist assumes<br />

you’re already writing strict <strong>HTML</strong>.<br />

<strong>HTML</strong> 4.01 Strict and X<strong>HTML</strong> 1.0 Strict are<br />

basically the same. So, going from transitional<br />

<strong>HTML</strong> 4.01 to <strong>HTML</strong> Strict or X<strong>HTML</strong> Strict is<br />

about the same amount of work. To change your<br />

transitional <strong>HTML</strong> to either, you’ll first need to do<br />

all the things we mentioned in Chapter 6 to remove<br />

presentation tags and clean up your <strong>HTML</strong>.<br />

There is also a transitional X<strong>HTML</strong> 1.0 version,<br />

which is essentially the same as transitional <strong>HTML</strong><br />

4.01. They both allow deprecated presentational<br />

elements, and inline elements directly in the body<br />

of your page. So, if you want to use that instead,<br />

remember to use the transitional X<strong>HTML</strong> 1.0<br />

DOCTYPE instead of the strict DOCTYPE.<br />

moving to xhtml<br />

you are here 273

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

Saved successfully!

Ooh no, something went wrong!