PDA

View Full Version : <META HTTP-EQUIV="CONTENT-SCRIPT-TYPE"?????



yunakokimama
27 Mar 2007, 08:56 PM
I used HTML checker tool( japanese), and it shows over 131 error ion html code.

1, when you use <script>, please insert <META HTTP-EQUIV="CONTENT-SCRIPT-TYPE" CONTENT=".........."> between <HEAD>~</HEAD>

2, When you use onload tag, please insert <META HTTP-EQUIV="CONTENT-SCRIPT-TYPE" CONTENT="..........."> between <HEAD>~</HEAD>

But I don't know what kind of code should I put in "............."

Please let me know the proper tag for me!! Thank you

My website is http://www.coffeerosexpress.com

Wickham
28 Mar 2007, 01:58 AM
Try the following:-
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>

which is the character set we use in the West; it will be different for Japanese characters.

The above code is for use with XHTML Doctypes. With HTML Doctypes it will be:-
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> without the closing /

You ought to use a Doctype.
http://www.w3.org/QA/2002/04/valid-dtd-list.html
http://www.wickham43.supanet.com/tutorial/generaladvice.html