php文件可以这样写吗? 可以,但是你的《》为什么不是<>? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 这是要干嘛 <!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><title》标题-CSS网模板</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><meta name="keywords" content="关键字" /><meta name="description" content="关键字描述" /><link href="css文件路径" rel="stylesheet" type="text/css" /><script type="text/javascript" src="JS文件路径"></script></head><body><?php echo "<p>Hello World</p>"; ?></body></html> 我只是想写个php的模板,以后可以套用 [code=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><title>标题-CSS网模板</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><meta name="keywords" content="关键字" /><meta name="description" content="关键字描述" /><link href="css文件路径" rel="stylesheet" type="text/css" /><script type="text/javascript" src="JS文件路径"></script></head><body><?php echo "<p>Hello World</p>"; ?></body></html>/code]这样写就可以了 <!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><title》标题-CSS网模板</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><meta name="keywords" content="关键字" /><meta name="description" content="关键字描述" /><link href="css文件路径" rel="stylesheet" type="text/css" /><script type="text/javascript" src="JS文件路径"></script></head><body><?php echo "<p>Hello World</p>"; ?></body></html> 因为象html,xhtml可以上网去验证,可是php代码不能验证,所以想有个正确的模板 php数组递归输出 PHP中能否利用JS实现向一个textarea中输入一个数,但是不会覆盖掉原先textarea中的值 怎么发现php脚本中的错误呀 如果超过2秒没有打开刚返回false;可以实现吗? 关于zendserver的问题 PHP经典实例(第二版)中文PDF下载 递归的问题~~~~救命! php 文件上传的疑问 北京新公司招技术经理(PHP+MYSQL技术) 虚拟主机选国外的好吗?讨论送分 Parse error: parse error, unexpected T_VARIABLE, expecting T_STRING in 问题,大家帮满看看 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>
<title》标题-CSS网模板</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="关键字" />
<meta name="description" content="关键字描述" />
<link href="css文件路径" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="JS文件路径"></script>
</head>
<body>
<?php echo "<p>Hello World</p>"; ?>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>标题-CSS网模板</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="关键字" />
<meta name="description" content="关键字描述" />
<link href="css文件路径" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="JS文件路径"></script>
</head>
<body>
<?php echo "<p>Hello World</p>"; ?>
</body>
</html>/code]这样写就可以了
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title》标题-CSS网模板</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="关键字" />
<meta name="description" content="关键字描述" />
<link href="css文件路径" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="JS文件路径"></script>
</head>
<body>
<?php echo "<p>Hello World</p>"; ?>
</body>
</html>