Validating frames pages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have been trying to validate my pages and came across a problem on my one
frames page that I can't quite figure out. On the validator I get an error
that the attribute "Target" is not allowed, but when I try and remove that
portion of the code FP keeps putting it back in. The code for the other
frame on the page doesn't have a target attribute, but the one for the lower
frame does. Everything else in the code is fine.

Anyone have any idea how to correct this??
<frameset rows="*,37">
<frame name="main" src="-------------------------">
<frame name="footer" src="---------------" target="main">
<noframes>
 
Validate how / where?
If to W3C you need to add frameset doctype to the page

--




|I have been trying to validate my pages and came across a problem on my one
| frames page that I can't quite figure out. On the validator I get an error
| that the attribute "Target" is not allowed, but when I try and remove that
| portion of the code FP keeps putting it back in. The code for the other
| frame on the page doesn't have a target attribute, but the one for the lower
| frame does. Everything else in the code is fine.
|
| Anyone have any idea how to correct this??
| <frameset rows="*,37">
| <frame name="main" src="-------------------------">
| <frame name="footer" src="---------------" target="main">
| <noframes>
|
| --
| Toni
 
Yes I'm validating to W3C. The frameset DTD is there. When I run the
validator it pops up with 1 error, that target attribute that it says
shouldnt be there.
 
That's because the target attribute is not a valid attribute according to
http://www.w3.org/TR/html4/present/frames.html#edef-FRAME
and http://www.w3.org/TR/html4/present/frames.html#adef-target
- even though it is recognized by most browsers
--




| Yes I'm validating to W3C. The frameset DTD is there. When I run the
| validator it pops up with 1 error, that target attribute that it says
| shouldnt be there.
| --
| Toni
|
|
| "Stefan B Rusynko" wrote:
|
| > Validate how / where?
| > If to W3C you need to add frameset doctype to the page
| >
| >
| > |
| > | Anyone have any idea how to correct this??
| > | <frameset rows="*,37">
| > | <frame name="main" src="-------------------------">
| > | <frame name="footer" src="---------------" target="main">
| > | <noframes>
| >
 
Back
Top