|
HTML FRAMESET PLease help
|
|
Topic Started: Apr 12 2005, 08:43 PM (790 Views)
|
|
chiên
|
Apr 12 2005, 08:43 PM
Post #1
|
- Posts:
- 1,084
- Group:
- Members
- Member
- #32,782
- Joined:
- October 17, 2004
- My Board URL
- http://freewebs.ga
|
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>
|
|
|
| |
|
Cool Dude 2k
|
Apr 12 2005, 08:48 PM
Post #2
|
- Posts:
- 199
- Group:
- Members
- Member
- #9,584
- Joined:
- December 12, 2003
|
- 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>
|
|
|
| |
|
chiên
|
Apr 12 2005, 08:54 PM
Post #3
|
- Posts:
- 1,084
- Group:
- Members
- Member
- #32,782
- Joined:
- October 17, 2004
- My Board URL
- http://freewebs.ga
|
"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). "
|
|
|
| |
|
Cool Dude 2k
|
Apr 12 2005, 08:59 PM
Post #4
|
- Posts:
- 199
- Group:
- Members
- Member
- #9,584
- Joined:
- December 12, 2003
|
- 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.
|
|
|
| |
|
chiên
|
Apr 12 2005, 10:45 PM
Post #5
|
- Posts:
- 1,084
- Group:
- Members
- Member
- #32,782
- Joined:
- October 17, 2004
- My Board URL
- http://freewebs.ga
|
hey thanx alot. I was racking meh brain about that this is the first time i ever used frames
|
|
|
| |
| 1 user reading this topic (1 Guest and 0 Anonymous)
|