Validation problem(s)

admin

Administrator
Staff member
Hi. I'm trying to make sure my code is valid, and it was valid until I added in the code for my IFRAME and an image map. :doh: <br />
<br />
Can someone :help:????<br />
<br />
<br />
Below are the results of attempting to parse this document with an SGML parser. <br />
<br />
Line 21, column 36: there is no attribute "NAME" (explain...). <br />
<td valign="top"><iframe name="main" src=http://www.htmlforums.com/archive/index.php/"main.htm" frameborder="0" width=<br />
^<br />
Line 21, column 47: there is no attribute "SRC" (explain...). <br />
...valign="top"><iframe name="main" src=http://www.htmlforums.com/archive/index.php/"main.htm" frameborder="0" width="412" h<br />
^<br />
Line 21, column 70: there is no attribute "FRAMEBORDER" (explain...). <br />
...me="main" src=http://www.htmlforums.com/archive/index.php/"main.htm" frameborder="0" width="412" height="529" scrolling="<br />
^<br />
Line 21, column 80: there is no attribute "WIDTH" (explain...). <br />
...src=http://www.htmlforums.com/archive/index.php/"main.htm" frameborder="0" width="412" height="529" scrolling="auto"></if<br />
^<br />
Line 21, column 93: there is no attribute "HEIGHT" (explain...). <br />
..." frameborder="0" width="412" height="529" scrolling="auto"></iframe></td><br />
^<br />
Line 21, column 109: there is no attribute "SCROLLING" (explain...). <br />
..." width="412" height="529" scrolling="auto"></iframe></td><br />
^<br />
Line 21, column 115: element "IFRAME" undefined (explain...). <br />
...h="412" height="529" scrolling="auto"></iframe></td><br />
^<br />
Line 25, column 13: document type does not allow element "MAP" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag <br />
<MAP NAME="3"><br />
^<br />
Line 26, column 73: there is no attribute "TARGET" (explain...). <br />
...,8,54,20" HREF=http://www.htmlforums.com/archive/index.php/"main.htm" ALT="main" target="main"><br />
^<br />
<br />
<br />
<br />
1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><br />
2: <br />
3: <html><br />
4: <head><br />
5: <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><br />
6: <title>apparitions - version 7.0</title><br />
7: <LINK href=http://www.htmlforums.com/archive/index.php/"pinklayout.css" rel="stylesheet" type="text/css"><br />
8: </head><br />
9: <br />
10: <body><br />
11: <br />
12: <table border="0" cellspacing="0" cellpadding="0"><br />
13: <tr><br />
14: <td valign="top" rowspan="3"><img src=http://www.htmlforums.com/archive/index.php/"1.png" alt="It's Pink!"></td><br />
15: <td valign="top"><img src=http://www.htmlforums.com/archive/index.php/"2.png" alt="The'apparitions' logo!"></td><br />
16: </tr><br />
17: <tr><br />
18: <td valign="top"><img name="a0" src=http://www.htmlforums.com/archive/index.php/"3.png" alt="This is the Menu Bar!" width="412" height="31" USEMAP="#3"></td><br />
19: </tr><br />
20: <tr><br />
21: <td valign="top"><iframe name="main" src=http://www.htmlforums.com/archive/index.php/"main.htm" frameborder="0" width="412" height="529" scrolling="auto"></iframe></td><br />
22: </tr><br />
23: </table><br />
24: <br />
25: <MAP NAME="3"><br />
26: <AREA SHAPE="rect" COORDS="25,8,54,20" HREF=http://www.htmlforums.com/archive/index.php/"main.htm" ALT="main" target="main"><br />
27: <AREA SHAPE="rect" COORDS="62,8,90,20" HREF=http://www.htmlforums.com/archive/index.php/"blog.htm" ALT="blog" target="main"><br />
28: <AREA SHAPE="rect" COORDS="97,8,145,20" HREF=http://www.htmlforums.com/archive/index.php/"interact.htm" ALT="interact" target="main"><br />
29: <AREA SHAPE="rect" COORDS="153,8,185,20" HREF=http://www.htmlforums.com/archive/index.php/"links.htm" ALT="links" target="main"><br />
30: <AREA SHAPE="rect" COORDS="194,8,240,20" HREF=http://www.htmlforums.com/archive/index.php/"network.htm" ALT="network" target="main"><br />
31: <AREA SHAPE="rect" COORDS="249,8,304,20" HREF=http://www.htmlforums.com/archive/index.php/"gbook.htm" ALT="guestbook" target="main"><br />
32: <AREA SHAPE="rect" COORDS="313,8,380,20" HREF=http://www.htmlforums.com/archive/index.php/"fictionality.htm" ALT="fictionality" target="main"><br />
33: </MAP><br />
34: <br />
35: </body><br />
36: <br />
37: </html><br />
<br />
<br />
Thanks a MILLION in advance!<!--content-->Change your Doctype to <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">, and re-validate it to see which errors remain.<!--content-->It worked! Thank you so much!<!--content-->
 
Back
Top