究竟在什么时候应该加上引号,什么时候不加呀?
1)<%
response.write "<font size=5 color=red>" & "<center>"
response.write "两次输入密码不致,请重新输入"
response.write "<a href=add_member.htm>上一页</a>" & "</center>"
response.end
%>这样写正确。
<%
response.write "<font size="5" color=red>" "<center>"
response.write "两次输入密码不致,请重新输入"
response.write "<a href=add_member.htm>上一页</a>" & "</center>"
response.end
%>这样写错误。
为什么当size="5" 时(即加引号时)却提示出错?为什么当 color="red"时也出错?
究竟在什么时候应该加上引号,什么时候不加呀?我看有的程序中有引号的也正确呀。请大家详细说说。
2)<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>
<body>之中的<meta。。。。。。。。。。>是什么含义呀?如何执行?哪有相关参考资料。