melop
小狐狸
小狐狸
  • UID1650
  • 注册日期2005-01-02
  • 最后登录2006-01-26
  • 发帖数87
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
阅读:7248回复:5

我们的论坛也没能通过w3c validator 校验

楼主#
更多 发布于:2005-01-27 14:05
我们的论坛也没能通过w3c validator 校验,找到了好多错误。
管理员快修正一下吧,不然就真是不好意思了。


Document Checked

    * Character encoding: UTF-8
    * Level of HTML: HTML 4.01 Transitional

Errors and Warnings

    * Line 4, character 44:

... bots" content="index,follow" />
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 4, character 45:

... ots" content="index,follow" />
                                 ^

      Error: text is not allowed here; try wrapping the text in a more descriptive container
    * Line 8, character 109:

... 13;文社区" />
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 10, character 85:

... 13;文社区" />
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 11, character 278:

... 插件 Extensions" />
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 165, character 70:

... ref="nav.css" media="screen" />
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 166, character 7:

</head>
      ^

      Error: end tag for element HEAD which is not open; try removing the end tag or check for improper nesting of elements
    * Line 195, character 18:

<hr class="hide" />
                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 198, character 70:

... ink="#006699" vlink="#5493B4">
                                 ^

      Error: element BODY not allowed here; check which elements this element may be contained within
    * Line 201, character 5:

<br />
    ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 207, character 54:

... 0" cellpadding="2" border="0">
                                 ^

      Error: element TABLE not allowed here; possible cause is an inline element containing a block-level element
    * Line 209, character 52:

... r" valign="top"><span  align="right" class="mainmenu">& ...
                                 ^

      Error: there is no attribute ALIGN for this element (in this HTML version)
    * Line 209, character 275:

... 0013;文FAQ" hspace="3" /><font color=#ff0000>Firefox&# ...
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 209, character 289:

... AQ" hspace="3" /><font color=#ff0000>Firefox中文 ...
                                 ^

      Error: an attribute value must be quoted if it contains any character other than letters (A-Za-z), digits, hyphens, and periods; use quotes if in doubt
    * Line 210, character 233:

... 搜索" hspace="3" /><font color=#ff0000>论& ...
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 210, character 247:

... 4;" hspace="3" /><font color=#ff0000>论坛&#25628 ...
                                 ^

      Error: an attribute value must be quoted if it contains any character other than letters (A-Za-z), digits, hyphens, and periods; use quotes if in doubt
    * Line 211, character 172:

... 帮助" hspace="3" />帮助</a>
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 213, character 250:

... 资料" hspace="3" />个人资&#260 ...
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 214, character 209:

... 短信" hspace="3" />站内短&#204 ...
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 216, character 179:

... 团队" hspace="3" />团队</a>
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 217, character 188:

... 银行" hspace="3" />社区银&#348 ...
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 218, character 239:

... 38144; [ melop ]" hspace="3" />注销 [ melop ]</a ...
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 218, character 288:

...  melop ]</a>&</span></td>
                                 ^

      Error: end tag for SPAN omitted; possible causes include a missing end tag, improper nesting of elements, or use of an element where it is not allowed
    * Line 210, character 14:

                                                </span><span  align="right" class="mainmenu"><a href=" ...
                                                       ^

      start tag was here
    * Line 219, character 15:

                                        </tr></td>
                                                 ^

      Error: end tag for TABLE omitted; possible causes include a missing end tag, improper nesting of elements, or use of an element where it is not allowed
    * Line 207, character 5:

                                <table cellspacing="0" cellpadding="2" border="0">
                                ^

      start tag was here
    * Line 219, character 15:

                                        </tr></td>
                                                 ^

      Error: TR not finished but containing element ended
    * Line 219, character 15:

                                        </tr></td>
                                                 ^

      Error: end tag for TABLE omitted; possible causes include a missing end tag, improper nesting of elements, or use of an element where it is not allowed
    * Line 204, character 24:

                <td class="bodyline"><table width="100%" cellspacing="0" c ...
                                     ^

      start tag was here
    * Line 221, character 8:

                        </tr>
                            ^

      Error: end tag for element TR which is not open; try removing the end tag or check for improper nesting of elements
    * Line 222, character 10:

                </table>
                       ^

      Error: end tag for element TABLE which is not open; try removing the end tag or check for improper nesting of elements
    * Line 224, character 7:

                <br />
                    ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 231, character 103:

... 7 周四, 12:39<br />
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 232, character 87:

... 7 周四, 14:01<br /></span><span class="nav"><a h ...
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 234, character 108:

... 6032;文章</a><br /><a href="search.php?search_id ...
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 234, character 240:

... 0340;文章</a><br />
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 235, character 100:

... "0" alt="RSS" align="middle" /></a> <a href="search.php?sear ...
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 247, character 212:

... order="0" id="news_2153_img" /></a></td>
                                 ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 247, character 212:

... order="0" id="news_2153_img" /></a></td>
                                 ^

      Error: required attribute ALT not specified
    * Line 249, character 270:

... 14;议信</a></span></td>
                                 ^

      Error: end tag for element SPAN which is not open; try removing the end tag or check for improper nesting of elements
    * Line 264, character 5:

<br />
    ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 266, character 5:

<br />
    ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value
    * Line 268, character 5:

<br />
    ^

      Warning: net-enabling start-tag; possibly missing required quotes around an attribute value

The maximum number of errors was reached. Further errors in the document have not been reported.
欢迎光临我的小blog: http://blog.csdn.net/melop
puhongyi
千年狐狸
千年狐狸
  • UID3
  • 注册日期2004-11-20
  • 最后登录2012-03-29
  • 发帖数1116
  • 经验9枚
  • 威望2点
  • 贡献值38点
  • 好评度19点
1楼#
发布于:2005-01-27 14:05
感谢你的关心,这个问题我们很早便在关注,由于phpbb的MOD扩展方式和我们工作的疏忽造成了这样的情况,我们会开始尽量进行一些修正,不过由于3月份左右,论坛系统phpbb便会出来新的3.0版本,因此可能大部分的工作都会在届时论坛升级的时候来进行,再次感谢你的支持和建议,希望你继续关注和监督我们。
melop
小狐狸
小狐狸
  • UID1650
  • 注册日期2005-01-02
  • 最后登录2006-01-26
  • 发帖数87
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
2楼#
发布于:2005-01-27 14:05
其实严格有严格的好。现在我都不觉得它有多严格了。

而且我们的论坛DOCTYPE 是HTML 4.01 算是比较宽松的一种了,如果这样也无法达到,实在不太好。

Dreamweaver 毕竟还是所见即所得的编辑环境,毕竟功能有限,不及
手写灵活,而且兼顾不到w3c 也不奇怪(其实通过浏览器检测并非等于符合标准,只是说那个浏览器懂得那个意思)。其实发现错误手工改动一下就行了,也没什么难。
欢迎光临我的小blog: http://blog.csdn.net/melop
FireShow
狐狸大王
狐狸大王
  • UID516
  • 注册日期2004-12-03
  • 最后登录2012-02-29
  • 发帖数402
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
3楼#
发布于:2005-01-27 14:05
觉得 W3C 的检验标准过于严格了,所有浏览器都能正常显示的网页,它还是报错。

我用 Dreamweaver MX 2004 把所有浏览器打开,都通过的页面,W3C 还是通不过。

   
melop
小狐狸
小狐狸
  • UID1650
  • 注册日期2005-01-02
  • 最后登录2006-01-26
  • 发帖数87
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
4楼#
发布于:2005-01-27 14:05
的确,通过了校验还不一定能达到很好的兼容性。
但是标准的提出一定是有其道理的。
遵循标准只有好处,不会有什么坏处的。不然,我们就不会有这个版面了。

当然,别的网站还可以说得过去,但作为宣传Firefox 的阵地,连自己的页面都没能Validate, 就大谈 w3c 标准,恐怕是不妥的。
欢迎光临我的小blog: http://blog.csdn.net/melop
neuron
小狐狸
小狐狸
  • UID930
  • 注册日期2004-12-15
  • 最后登录2006-11-01
  • 发帖数92
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
5楼#
发布于:2005-01-27 14:05
其实不一定要通过它的检验
通过了此检验并不一定能各种浏览器中保持同样的外观(多数情况下是不同的)
只要在大多数浏览器中保持网页外观的99%一致的外观和功能
那么这个过不过这个检验又何妨呢?
游客

返回顶部