|
[ITCLUB] how to display chinese language in HTML on web site
[这个贴子最后由undertaker在 2002/10/31 02:53pm 编辑]
[html]
<head>
<meta content="text/html; charset=gb2312" http-equiv="Content-Type">
<meta http-equiv="MSThemeCompatible" content="Yes">
<title>中文简体</title>
</head>
<SCRIPT LANGUAGE="JScript">
function doChanges() {
window.event.srcElement.style.color = "blue";
window.event.srcElement.style.fontSize = "30px";
}
</SCRIPT>
<BODY>
<H3 ID=heading onmouseover="doChanges()" STYLE="color:black;font-size:18">中文简体输入</H3>
<P>把鼠标挪到上面标题上看看。。。
</BODY>
[/html]
在 head tag里面定义一下 charset 就可以了,方法如上。。。
|
|