We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
HTML FRAMESET PLease help
Topic Started: Apr 12 2005, 08:43 PM (790 Views)
chiên
Member Avatar
Vi3t Assassin
[ *  *  *  *  * ]
I need help when I add the part in red the validator at W3c says it's an error can anyone tell me why?

Quote:
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> -->
<html>
<head>
<title>Distant Stars</title>
<META NAME="Title" CONTENT="Distant Stars">
<META NAME="Author" CONTENT="Chiên Đinh Lê">
<META NAME="Description" CONTENT="This version of Distant Stars is basically so you can find  content easier. We have everything from Webmaster tools, to free downloads, plus we offer free online services.">
<META NAME="Keywords" CONTENT="distant stars, ds, webmaster tools, online services, downloads, free midi downloads, free wallpaper downloads, HTML codes, Javascript codes">
<META NAME="Language" CONTENT="English">
<META NAME="Abstract" CONTENT="Distant Stars Forums">
<META NAME="Designer" CONTENT="Chiên Đinh Lê">
<META NAME="Revisit-After" CONTENT="2 Days">
<META NAME="Distribution" CONTENT="Global">
<META NAME="Robots" CONTENT="All">
<script type="JavaScript">
function blockError(){return true;}
window.onerror = blockError;
</script>
</head>
<frameset COLS="20%,80%">
<frame src="URL OF MY NAVIGATION PAGE" name="Frame1" marginwidth="1" marginheight="1" scrolling="YES" NORESIZE>
<frame src="URL OF MY BOARD" name="Frame2" marginwidth="1" marginheight="1" scrolling="YES" NORESIZE>
</frameset>
<noframe>
<body>
<p>
Your browser does not support frames please visit <a href="URL OF MY BOARD">MY BOARD</a>.
</p>
</body>
</noframe>

</html>
Offline Profile Quote Post Goto Top
 
Cool Dude 2k
<?php echo "Linux"; ?>
[ *  * ]
chiên
April 12, 2005 07:43 PM
I need help when I add the part in red the validator at W3c says it's an error can anyone tell me why?

Quote:
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> -->
<html>
<head>
<title>Distant Stars</title>
<META NAME="Title" CONTENT="Distant Stars">
<META NAME="Author" CONTENT="Chiên Đinh Lê">
<META NAME="Description" CONTENT="This version of Distant Stars is basically so you can find  content easier. We have everything from Webmaster tools, to free downloads, plus we offer free online services.">
<META NAME="Keywords" CONTENT="distant stars, ds, webmaster tools, online services, downloads, free midi downloads, free wallpaper downloads, HTML codes, Javascript codes">
<META NAME="Language" CONTENT="English">
<META NAME="Abstract" CONTENT="Distant Stars Forums">
<META NAME="Designer" CONTENT="Chiên Đinh Lê">
<META NAME="Revisit-After" CONTENT="2 Days">
<META NAME="Distribution" CONTENT="Global">
<META NAME="Robots" CONTENT="All">
<script type="JavaScript">
function blockError(){return true;}
window.onerror = blockError;
</script>
</head>
<frameset COLS="20%,80%">
<frame src="URL OF MY NAVIGATION PAGE" name="Frame1" marginwidth="1" marginheight="1" scrolling="YES" NORESIZE>
<frame src="URL OF MY BOARD" name="Frame2" marginwidth="1" marginheight="1" scrolling="YES" NORESIZE>
</frameset>
<noframe>
<body>
<p>
Your browser does not support frames please visit <a href="URL OF MY BOARD">MY BOARD</a>.
</p>
</body>
</noframe>

</html>

The tag is <noframes> you forgot the s. ^_^
Code:
 
<noframes>
<body>
<p>
Your browser does not support frames please visit <a href="URL OF MY BOARD">MY BOARD</a>.
</p>
</body>
</noframes>
Offline Profile Quote Post Goto Top
 
chiên
Member Avatar
Vi3t Assassin
[ *  *  *  *  * ]
"Line 28, column 9: document type does not allow element "NOFRAMES" here

<noframes>

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error). "
Offline Profile Quote Post Goto Top
 
Cool Dude 2k
<?php echo "Linux"; ?>
[ *  * ]
chiên
April 12, 2005 07:54 PM
"Line 28, column 9: document type does not allow element "NOFRAMES" here

<noframes>

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error). "

Code:
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> -->
<html>
<head>
<title>Distant Stars</title>
<META NAME="Title" CONTENT="Distant Stars">
<META NAME="Author" CONTENT="Chiên Đinh Lê">
<META NAME="Description" CONTENT="This version of Distant Stars is basically so you can find  content easier. We have everything from Webmaster tools, to free downloads, plus we offer free online services.">
<META NAME="Keywords" CONTENT="distant stars, ds, webmaster tools, online services, downloads, free midi downloads, free wallpaper downloads, HTML codes, Javascript codes">
<META NAME="Language" CONTENT="English">
<META NAME="Abstract" CONTENT="Distant Stars Forums">
<META NAME="Designer" CONTENT="Chiên Đinh Lê">
<META NAME="Revisit-After" CONTENT="2 Days">
<META NAME="Distribution" CONTENT="Global">
<META NAME="Robots" CONTENT="All">
<script type="JavaScript">
function blockError(){return true;}
window.onerror = blockError;
</script>
</head>
<frameset COLS="20%,80%">
<frame src="URL OF MY NAVIGATION PAGE" name="Frame1" marginwidth="1" marginheight="1" scrolling="YES" NORESIZE>
<frame src="URL OF MY BOARD" name="Frame2" marginwidth="1" marginheight="1" scrolling="YES" NORESIZE>
<noframe>
<body>
<p>
Your browser does not support frames please visit <a href="URL OF MY BOARD">MY BOARD</a>.
</p>
</body>
</noframe>
</frameset>
</html>

The noframes tag has to be in the frameset tag.
Offline Profile Quote Post Goto Top
 
chiên
Member Avatar
Vi3t Assassin
[ *  *  *  *  * ]
hey thanx alot. I was racking meh brain about that this is the first time i ever used frames
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Add Reply