|
Posted by Dan on 02/16/07 22:57
On Feb 16, 12:41 pm, rem6...@yahoo.com (robert maas, see http://
tinyurl.com/uh3t) wrote:
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> > "http://www.w3.org/TR/html4/strict.dtd">
>
> What should the corresponding meta be? Is it OK if I keep it
> as-is:
> <meta http-equiv="Content-Type" content="text/html;charset=us-ascii">
You're better off getting rid of the meta altogether, as it's merely a
cheap-plastic way of imitating a real HTTP header, which your server
ought to be sending in the first place as part of the information sent
via the HTTP protocol prior to the actual document contents.
But if you were to use meta elements, the only difference in them
between the HTML and XHTML versions would be that the XHTML one should
end with "/ >" while the HTML one ends with ">" alone.
--
Dan
Navigation:
[Reply to this message]
|