Monday, September 13, 2010

XHTML Transitional

In common usage, this friendly DTD enables you to get away with using deprecated elements,
and is useful for those rare occasions where you’d otherwise be banging your head
against a brick wall, trying to work out how to get around using one of those few still-useful
old tags:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Note that even if you end up solely using strict markup, the transitional DTD still ensures
browsers generally render elements correctly.

No comments:

Post a Comment