asp文件中调用头部尾部文件
head.asp文件:<!doctypehtml><html><head><metacharset="utf-8"><title>test</title></head><...
head.asp文件:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>test</title>
</head>
<body>
<div>head</div>
----------------------------------
foot.asp文件:
<div>foot</div>
</body>
</html>
----------------------------------
主页index.asp:
<!-- #include file="head.asp" -->
<div>main</div>
<!-- #include file="foot.asp" -->
============================================
index.asp打开只显示 main 展开
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>test</title>
</head>
<body>
<div>head</div>
----------------------------------
foot.asp文件:
<div>foot</div>
</body>
</html>
----------------------------------
主页index.asp:
<!-- #include file="head.asp" -->
<div>main</div>
<!-- #include file="foot.asp" -->
============================================
index.asp打开只显示 main 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询