WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: questions about accessible pdfs

for

From: Cheryl D. Wise
Date: Mar 2, 2004 7:26AM


I'll save Julian the trouble. If you create a new document with the XHTML
box checked in Dreamweaver MX 2004 you get:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
</body>
</html>

If you are using MX not MX 2004 you get the XML prolog by default but like
Julian I remove it.

Cheryl D. Wise
Certified Professional Web Developer
MS-MVP-FrontPage
www.wiserways.com
mailto: <EMAIL REMOVED>
713.353.0139 Office

-----Original Message-----
From: <EMAIL REMOVED>

> Heck, a default Dreamweaver MX
> document still lacks a <!DOCTYPE> declaration. But I digress...

Wrong (at least with DWMX and DWMX2004, I can't remember DW4). The HTML
default templates include the HTML4.01 transitional Doctype declaration (of
course, anyone can remove it or use unsupported tags) and when you click on
the XHTML option, the template uses the XHTML 1.0 transitional Doctype
declaration. I must admit that I haven't checked to see if there is a typo
or worse in the DTD but it is inserted. Choosing XHTML however, does not
insert the XML line at the top (I don't use it myself which may create a
validation issue) and I can't remember if the XHTML option adds the
additional attribute to the <html> tag. I will have to check that tonight.


----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/