0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
HTML DOCTYPEs
If you wish to work with HTML markup rather than XHTML, your documents still need a
DOCTYPE to pass validation. The three DOCTYPEs for HTML 4.01 more or less match those
for HTML: Strict, Transitional, and Frameset.
"http://www.w3.org/TR/html4/strict.dtd">
"http://www.w3.org/TR/html4/loose.dtd">
"http://www.w3.org/TR/html4/frameset.dtd">
Note that in Gecko browsers, XHTML Transitional and Frameset are rendered in
???almost standards??? mode. The main difference between this and standards mode is in
the formatting of tables, which is designed to largely match that of Internet Explorer,
making sliced-images-in-tables layouts less likely to fall apart.
WEB PAGE ESSENTIALS
33
2
Partial DTDs
Always include full DTDs. Some older web design packages and online resources provide
incomplete or outdated ones that can switch browsers into ???quirks??? mode, displaying your
site as though it were written with browser-specific, old-fashioned markup and CSS, and
rendering the page accordingly (as opposed to complying strictly with web standards. The
argument for quirks mode was largely down to backward-compatibility. For example, it
enabled Internet Explorer 6 to display CSS layouts with the box model used by Internet
Explorer 5.
Pages:
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93