可以,但是你的《》为什么不是<>?

解决方案 »

  1.   

    这是要干嘛 
    <!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>
      

  2.   

    我只是想写个php的模板,以后可以套用
      

  3.   

    [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]这样写就可以了
      

  4.   

    <!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>
      

  5.   

    因为象html,xhtml可以上网去验证,可是php代码不能验证,所以想有个正确的模板