SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 366 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


n Use a doctype declaration that specifies an HTML version earlier than 4.0.
n Use a doctype declaration that declares a transitional DTD of HTML 4.01, but does not include
a URL to the DTD.
To trigger a browser??™s strict rendering mode:
n Use a doctype declaration for XML or XHTML.
n Use a doctype declaration that declares a strict DTD of HTML 4.01.
n Use a doctype declaration that declares a transitional DTD of HTML 4.01 that includes a URL to
the DTD.
When including a URL to the DTD, the doctype looks as follows:
???http://www.w3.org/TR/html4/loose.dtd???>
You have several alternatives in Dreamweaver for including whichever doctype you choose. Hand-coding
is a sure but tedious method; the doctype statement is somewhat cumbersome and certainly not easy to
remember precisely. You could also alter the standard HTML page by changing the Default.html file
found in your Dreamweaver 9\Configuration\DocumentTypes\NewDocuments folder.
For more details on altering the default page template, see Chapter 28.
Another approach is to create a custom snippet that enables you to drag the desired code right onto the
page on a case-by-case basis. Use of the Snippets panel is covered later in this chapter in the ???Adding Code
through the Snippets Panel??? section.


Pages:
354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378