用户
 找回密码
 入住 CI 中国社区
搜索
查看: 2619|回复: 3
收起左侧

例子

[复制链接]
发表于 2012-5-23 22:58:04 | 显示全部楼层 |阅读模式
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="_template.css" type="text/css" rel="stylesheet" />
<title>无标题文档</title>
</head>

<body>
<div id="header"><h1>中文乱码了</h1></div>
<div id="content">
<hr />
</div>
</body>
</html>
 楼主| 发表于 2012-5-23 22:58:36 | 显示全部楼层
HTML复制代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="_template.css" type="text/css" rel="stylesheet" />
<title>无标题文档</title>
</head>
 
<body>
<div id="header"><h1>中文乱码了</h1></div>
<div id="content">
<hr />
</div>
</body>
</html>
 
复制代码
 楼主| 发表于 2012-5-23 23:00:01 | 显示全部楼层
PHP复制代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
 
<body>
<?php echo  "1111";?>
</body>
</html>
复制代码
发表于 2012-6-13 11:29:58 | 显示全部楼层
好{:soso_e113:}

本版积分规则