Forum Moderators: open
Questions=
Should I use the above or another?
What if it's a php page with html on it?
Where does us-en go if anywhere?
What about script pages for example mail.php which just runs a script and doesn't display anything?
Thanks
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
It is also part of the W3 standards.
regards
Mark.
> What if it's a php page with html on it?
Doesn't matter - the browser never sees the php.
Content type is for describing what character set you are sending information to the browser in.
> Where does us-en go if anywhere?
You can specify it in your HTML by using the lang attribute.
e.g.
<html lang="en-us">
or even
<span lang="fr">C'est la vie</span>
Note: its en-us not us-en
Believe it or not American is a subset of English, not the other way around :)