此页面不是有效的HTML 4.01.WHY? [英] This page is not a valid HTML 4.01.WHY?
问题描述
大家好
我尝试使用链接验证此页面: http://validator.w3.org/
但是它返回这不是一个有效的HTML 4.01页面
请问哪里出错?
Steil
<!DOCTYPE HTML PUBLIC" - // W3C // DTD HTML 4.01 Frameset // EN"
http://www.w3.org/TR/html4/frameset.dtd">
< html>
< head>
< script type =" text / javascript" language =" javascript">
var query = window.location.search.substr(1)
< / script>
< meta http-equiv =" Content-Type"含量=" text / html的; charset = iso-8859-1" />
< META NAME =" Classification" CONTENT =" ???">
< META NAME =" Author" CONTENT =我的名字>
< META NAME ="说明" CONTENT =" COMMERCIAL site"
< META NAME =" KeyWords" CONTENT =" COMPUTERS>>
< title>< / title>< / head>
< frameset id =" one"命名= QUOT;一个"行= QUOT; 0106,* QUOT; FRAMEBORDER = [否" border =" 0">
< frame name =" FN" ID = QUOT; FN" SRC =" bag.htm" FRAMEBORDER =" 0" scrolling =" no"
noresize>
< frame name =" up" ID = QUOT;最多" SRC =" menualto.htm" FRAMEBORDER =" 0" border =" 0"
scrolling =" no">
< frameset id =" two"名称= QUOT;二" COLS = QUOT; 160,* QUOT; FRAMEBORDER =" 0" border =" 0">
< frame name =" menu" ID = QUOT;菜单" SRC =" blank.htm" FRAMEBORDER =" 0" border =" 0"
scrolling =" auto">
< frame name =" view" id =" view"
frameborder =" 0"边界=" 0" scrolling =" auto"
src =" zero.HTM">
< / frameset>
< / frameset>
< / html>
Hi at all
I try to validate this page using the link: http://validator.w3.org/
but it return that this is not a valid HTML 4.01 page
please where is it error?
Steil
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<script type="text/javascript" language="javascript">
var query=window.location.search.substr(1)
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<META NAME="Classification" CONTENT="???">
<META NAME="Author" CONTENT="My name">
<META NAME="Description" CONTENT="COMMERCIAL site">
<META NAME="KeyWords" CONTENT="COMPUTERS">
<title></title></head>
<frameset id="one" name="one"rows="0,106,*" frameborder="no" border="0">
<frame name="FN" id="FN" src="bag.htm" frameborder="0" scrolling="no"
noresize>
<frame name="up" id="up" src="menualto.htm" frameborder="0" border="0"
scrolling="no">
<frameset id="two" name="two" cols="160,*" frameborder="0" border="0">
<frame name ="menu" id="menu" src="blank.htm" frameborder="0" border="0"
scrolling="auto">
<frame name="view" id="view"
frameborder="0" border="0" scrolling="auto"
src="zero.HTM">
</frameset>
</frameset>
</html>
推荐答案
2004年10月26日星期二13: 44:47 GMT,Steal< NO **** @ hotmail.com>写道:
On Tue, 26 Oct 2004 13:44:47 GMT, Steal <NO****@hotmail.com> wrote:
我尝试使用以下链接验证此页面: http://validator.w3.org/
但它返回这不是一个有效的HTML 4.01页面
请问哪里出错?
I try to validate this page using the link: http://validator.w3.org/
but it return that this is not a valid HTML 4.01 page
please where is it error?
错误在验证程序的结果页面中给出。当你没有提供URL时,我假设您希望我们将您的代码剪切并粘贴到文件中并自行验证?如果你需要帮助那么你
应该让我们很容易帮忙。
这是你需要做的修复它:
1.不要在HTML文档中使用XHTML语法。
2.不要使用HTML版本中不存在的属性
你声称要写。
3.将元素嵌入其正确的父母中。
4.将一些内容放入元素中需要内容。
当我们在这里时:
http://www.htmlhelp.com/design/frames/whatswrong.html
Steve
The errors are given in the results page from the validator. As you
haven''t provided a URL I assume that you''re expecting us to cut and paste
your code into a file and validate it ourselves? If you want help then you
should make it easy for us to help.
Here''s what you need to do to fix it:
1. Don''t use XHTML syntax in HTML documents.
2. Don''t use attributes that don''t exist in the version of HTML that
you''re claiming to write.
3. Nest elements inside their proper parents.
4. Put some content into elements that require content.
And whilst we''re at it:
http://www.htmlhelp.com/design/frames/whatswrong.html
Steve
" Steal" < NO **** @ hotmail.com>在消息中写道
news:jx ***************** @ twister1.libero.it ...
"Steal" <NO****@hotmail.com> wrote in message
news:jx*****************@twister1.libero.it...
嗨at所有
我尝试使用以下链接验证此页面: http://validator.w3。 org /
但它返回这不是一个有效的HTML 4.01页面
请问哪里出错?
Hi at all
I try to validate this page using the link: http://validator.w3.org/
but it return that this is not a valid HTML 4.01 page
please where is it error?
验证器*告诉你你的错误在哪里,它给你选项
来显示你的源代码和编号的行。
我很好奇,因为人们来这里的频率与
相同的要求:你怎么没注意到错误都是在验证中解释的?b $ b结果页?
The validator *tells* you where the errors are, and it gives you the option
to display your source code with the lines numbered.
I''m curious, because of the frequency with which people come here making the
same request: How is it that you didn''t notice that the errors were all
explained on the validation resuls page?
2004年10月26日星期二,格林威治标准时间13:44:47,窃取 < NO **** @ hotmail.com>写道:
On Tue, 26 Oct 2004 13:44:47 GMT, "Steal" <NO****@hotmail.com> wrote:
我尝试使用以下链接验证此页面: http://validator.w3.org/
但它返回这不是一个有效的HTML 4.01页面
请问哪里出错?
I try to validate this page using the link: http://validator.w3.org/
but it return that this is not a valid HTML 4.01 page
please where is it error?
< meta http-equiv =" Content-Type"
content =" text / html; charset = iso-8859-1" />
- - - - - - - - - - - - - - - - - - - - - ^ - 这里。
当你指定了HTML时,不要使用XML中的碎片。
< frameset id =" one" name =" one"
- - - - - - - - - - ^^^^
rows =" 0,106,*" FRAMEBORDER = [否" border =" 0">
- - - - - - - - - ^^^^^^^^^^^ - - - ^^^^^^
NAME,FRAMEBORDER和BORDER不是FRAMESET
元素的有效属性。
-
雷克斯
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1"/>
- - - - - - - - - - - - - - - - - - - - -^- here.
Dont use pieces from XML when you have specifed HTML.
<frameset id="one" name="one"
- - - - - - - - - - ^^^^
rows="0,106,*" frameborder="no" border="0">
- - - - - - - - -^^^^^^^^^^^- - - ^^^^^^
NAME, FRAMEBORDER and BORDER are not valid attributes for a FRAMESET
element.
--
Rex
这篇关于此页面不是有效的HTML 4.01.WHY?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!