❶ 在PHP里怎么添加CSS和JS文件
看代码,一看就懂
1.
{literal}
<script type="text/javascript" src="/javascript/wap/jquery.js"></script>
<script type="text/javascript" src="/javascript/wap/user.js"></script>
<script type="text/javascript" src="/javascript/wap/self_list.js"></script>
{/literal}
2.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>查看个人历史注册记录</title>
<link href="/style/wap/pub.css" rel="stylesheet" type="text/css" />
<link href="/style/wap/ht_css.css" rel="stylesheet" type="text/css" />
<link href="/style/wap/admin.css" type="text/css" rel="stylesheet" />
<link href="/style/wap/datetime/jquery.ui.all.css" rel="stylesheet" type="text/css" />
</head>
我要全分