Prev | Current Page 27 | Next

Charles Wyke-Smith

"Stylin' with CSS: A Designer's Guide 2nd Edition"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Transitional: This states that the markup is a mix of XHTML
and deprecated HTML. Many well-established sites are currently
using this one, so their old HTML code can exist happily
in the document alongside the XHTML they are now adding.
Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
For a list of deprecated tags that you
should abandon and replace with
their XHTML equivalents, refer to the
About.com Web site (http://webdesign.
about.com/od/htmltags/a/
bltags_deprctag.htm).
There are other ?¬‚ avors of
DOCTYPES, and you can read about
them at http://www.oreillynet.com/
pub/a/javascript/synd/2001/08/28/
doctype.html?page=1.
XHTML: GIVING STRUCTURE TO CONTENT 13
Frameset: This is the same as transitional but in this case
frames, which are deprecated under XHTML, are OK, too.
"http://www.w3.org/TR/html4/frameset.dtd">
It is important to specify a DOCTYPE. Browsers that don??™t see a
DOCTYPE in the markup assume that the site page was coded
for browsers developed long before Web standards. My recommendation
is that if you are building a site from scratch, and
can therefore avoid deprecated or abandoned tag attributes,
such as FONT and COLOR, use the XHTML Strict DOCTYPE
listed previously.


Pages:
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39