always there for you

善于生活,善于学习,这是我和你的目标.

« Ajax学习心得表单验证程序 »

当进行xhtml1.0检测时

             当进行xhtml1.0检验时所犯下的错误:

1.            document type does not allow element "link" here.

            引用样式表时,<link ...... />放在<head></head>间,一般放在<title></title>后,我放在了<head>和<body>间.

2.            required attribute "type" not specified.

使用<script src=""></script>时,要记得加上type=""这个属性.

3.            双引号问题,属性里的值都必须配上双引号.

4.           XML Parsing Error: EntityRef: expecting ';'
  当发现这个错误时,错误行是<a href="........xx.asp?aa=alwaysthere&bb=1"></a>,想了很久,突然想起xhtml的格式是遵循xml的,所以不能出现"&"这个字符,改为它的转义符,OK了...

5..           更新ing..

  • 相关文章:

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Copyright www.alwaysthere.com.cn . Some Rights Reserved.

              

Powered By Z-Blog 1.8 Devo Build 80201