stripeyteapot
09-05-2004, 02:00 PM
<!-------------------- START CSS PRELOAD IMAGES -------------------->
<img src="images/menu/bggn.gif" alt="MENU2" title="MENU2" class="pre" />
<img src="images/bg2.gif" alt="BG2" title="BG2" class="pre" />
<!-------------------- END CSS PRELOAD IMAGES -------------------->
What's wrong with that? When validating my page, I got 18 errors, all of which are in this piece of code.
The errors are;
1. Line 9, column 8: multiple comments in comment declaration
<!-------------------- START CSS PRELOAD IMAGES -------------------->
2. Line 9, column 12: multiple comments in comment declaration
<!-------------------- START CSS PRELOAD IMAGES -------------------->
3. Line 9, column 16: multiple comments in comment declaration
<!-------------------- START CSS PRELOAD IMAGES -------------------->
4. Line 9, column 20: multiple comments in comment declaration
<!-------------------- START CSS PRELOAD IMAGES -------------------->
5. Line 9, column 22: S separator in comment declaration
<!-------------------- START CSS PRELOAD IMAGES -------------------->
6. Line 9, column 23: invalid comment declaration: found name start character outside comment but inside comment declaration
<!-------------------- START CSS PRELOAD IMAGES -------------------->
7. Line 9, column 0: comment declaration started here
<!-------------------- START CSS PRELOAD IMAGES -------------------->
8. Line 9, column 24: character data is not allowed here
<!-------------------- START CSS PRELOAD IMAGES -------------------->
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).
9. Line 10, column 71: document type does not allow element "img" here; assuming missing "object" start-tag
...n.gif" alt="menu2" title="menu2" class="pre" />
10. Line 12, column 8: multiple comments in comment declaration
<!-------------------- END CSS PRELOAD IMAGES -------------------->
11. Line 12, column 12: multiple comments in comment declaration
<!-------------------- END CSS PRELOAD IMAGES -------------------->
12. Line 12, column 16: multiple comments in comment declaration
<!-------------------- END CSS PRELOAD IMAGES -------------------->
13. Line 12, column 20: multiple comments in comment declaration
<!-------------------- END CSS PRELOAD IMAGES -------------------->
14. Line 12, column 22: S separator in comment declaration
<!-------------------- END CSS PRELOAD IMAGES -------------------->
15. Line 12, column 23: invalid comment declaration: found name start character outside comment but inside comment declaration
<!-------------------- END CSS PRELOAD IMAGES -------------------->
16. Line 12, column 0: comment declaration started here
<!-------------------- END CSS PRELOAD IMAGES -------------------->
17. Line 13, column 6: end tag for "object" omitted, but OMITTAG NO was specified
</head>
You may have neglected to close a tag, or perhaps you meant to "self-close" a tag; that is, ending it with "/>" instead of ">".
18. Line 10, column 0: start tag was here
<img src="images/menu/bggn.gif" alt="menu2" title="menu2" class="pre" />
I'm not sure what they mean, because I can't see the errors (Maybe because I'm tired?). Any help is appreciated.
<img src="images/menu/bggn.gif" alt="MENU2" title="MENU2" class="pre" />
<img src="images/bg2.gif" alt="BG2" title="BG2" class="pre" />
<!-------------------- END CSS PRELOAD IMAGES -------------------->
What's wrong with that? When validating my page, I got 18 errors, all of which are in this piece of code.
The errors are;
1. Line 9, column 8: multiple comments in comment declaration
<!-------------------- START CSS PRELOAD IMAGES -------------------->
2. Line 9, column 12: multiple comments in comment declaration
<!-------------------- START CSS PRELOAD IMAGES -------------------->
3. Line 9, column 16: multiple comments in comment declaration
<!-------------------- START CSS PRELOAD IMAGES -------------------->
4. Line 9, column 20: multiple comments in comment declaration
<!-------------------- START CSS PRELOAD IMAGES -------------------->
5. Line 9, column 22: S separator in comment declaration
<!-------------------- START CSS PRELOAD IMAGES -------------------->
6. Line 9, column 23: invalid comment declaration: found name start character outside comment but inside comment declaration
<!-------------------- START CSS PRELOAD IMAGES -------------------->
7. Line 9, column 0: comment declaration started here
<!-------------------- START CSS PRELOAD IMAGES -------------------->
8. Line 9, column 24: character data is not allowed here
<!-------------------- START CSS PRELOAD IMAGES -------------------->
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).
9. Line 10, column 71: document type does not allow element "img" here; assuming missing "object" start-tag
...n.gif" alt="menu2" title="menu2" class="pre" />
10. Line 12, column 8: multiple comments in comment declaration
<!-------------------- END CSS PRELOAD IMAGES -------------------->
11. Line 12, column 12: multiple comments in comment declaration
<!-------------------- END CSS PRELOAD IMAGES -------------------->
12. Line 12, column 16: multiple comments in comment declaration
<!-------------------- END CSS PRELOAD IMAGES -------------------->
13. Line 12, column 20: multiple comments in comment declaration
<!-------------------- END CSS PRELOAD IMAGES -------------------->
14. Line 12, column 22: S separator in comment declaration
<!-------------------- END CSS PRELOAD IMAGES -------------------->
15. Line 12, column 23: invalid comment declaration: found name start character outside comment but inside comment declaration
<!-------------------- END CSS PRELOAD IMAGES -------------------->
16. Line 12, column 0: comment declaration started here
<!-------------------- END CSS PRELOAD IMAGES -------------------->
17. Line 13, column 6: end tag for "object" omitted, but OMITTAG NO was specified
</head>
You may have neglected to close a tag, or perhaps you meant to "self-close" a tag; that is, ending it with "/>" instead of ">".
18. Line 10, column 0: start tag was here
<img src="images/menu/bggn.gif" alt="menu2" title="menu2" class="pre" />
I'm not sure what they mean, because I can't see the errors (Maybe because I'm tired?). Any help is appreciated.
