|
Posted by Steal on October 26, 2004, 2:44 pm
Please log in for more thread options
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>
|
|
Posted by Harlan Messinger on October 26, 2004, 11:28 am
Please log in for more thread options
> 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?
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?
|
|
Posted by Neal on October 26, 2004, 11:53 am
Please log in for more thread options
> 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?
The validator already told you. If you won't listen to it, why would you
listen to us?
If you're unsure what it meant, ask us that. What you've done is throw us
your code and asked us to do it for you. That's not what I want to do.
What I want to do is see the URL of the page, from which I can easily
check the validator. Then I want to reply to a specific question you might
have about why it fails.
|
|
Posted by Steve Pugh on October 26, 2004, 3:59 pm
Please log in for more thread options
> 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?
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
|
|
Posted by me on November 1, 2004, 3:05 pm
Please log in for more thread options wrote:
>And whilst we're at it:
>http://www.htmlhelp.com/design/frames/whatswrong.html
Out of interest, (and seriously-not "frames suck") why not frames? (A
more up to date view rather than one written 7 years ago)
The only really valid argument I can see on the above page is that
lots of work would need to be duplicated to deal with the NOFRAMES
scenario. (How many browsers these days don't deal with Frames?)
If a web page writer tests their design in several common browsers and
at the common screen resolutions (as everyone does yes?), and the
frames display as intended, why not use frames?
It's easy enough for a framed page to call up the frameset, so a
search engine hit on a page can easily be dealt with.
If there's a W3C doctype set for frames, then surely they can't be
that bad, huh?
|
| Similar Threads | Posted | | BGCOLOR only in Opera, not other browsers (valid page) | May 4, 2008, 1:38 am |
| problems getting valid HTML out of PHP | September 17, 2004, 6:26 pm |
| valid html for framesets | February 13, 2005, 10:25 am |
| Valid HTML Tutorial | December 6, 2005, 12:12 pm |
| Inserting MP3 into Valid HTML | September 24, 2008, 8:03 pm |
valid (X)HTML? | December 17, 2007, 6:31 pm |
| Unrecognized file format prolem with valid html, please help! | November 9, 2004, 6:55 pm |
| Seemingly-simple valid HTML renders diff in FF1.0, IE6 | January 25, 2005, 12:04 pm |
W3C Validator error? is valid for doctype HTML 4.01 Strict | April 21, 2005, 12:46 pm |
| Need help creating a "Click absolutely ANYWHERE on this page" link for an HTML page with no content | February 7, 2007, 5:40 pm |
|