[development] Administration Survey: Theme improvements, theme help system, theme mailing list

Tim Altman web at timaltman.com
Thu Dec 1 17:34:52 UTC 2005


On Thu, 01 Dec 2005 18:24:47 +0100, Kieran Lal <kieran at civicspacelabs.org>  
wrote:

[...]

> Assuming folks do not want to read about doctypes and DTDs what
> should we recommend as defaults?
>
> DocType: application/xhtml+xml I assume.  What DTDs ?

application/xhtml+xml is a MIME type.  We should recommend the use of  
text/html (even with XHTML).

> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
>     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
>
> Anything else?

For HTML:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
    "http://www.w3.org/TR/html4/frameset.dtd">

One other interesting piece of information may be doctype switching.  I  
don't know any good documents about it off the top of my head, though.

-- 
Tim Altman



More information about the development mailing list