Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

html not validation through w3c

Status
Not open for further replies.

spyderco

Programmer
Jan 23, 2005
107
US
I am getting the following errors on and I can't seem to fix them. I tried switching to the XML doctype or header and I had 63 warnings!! Eek. I'll stick with making this one work, for now.

Any idea how to fix these?

1) Line 7 column 6: end tag for element "HEAD" which is not open. (I have a HEAD tag open)
2) Line 9 column 23: document type does not allow element "BODY" here
3)Line 25 column 17: there is no attribute "BACKGROUND".
<TD background="images/nav_bar.jpg">
 
1. In html 4.01 <link> tag should not be closed. Try without closing that attribute.
2. Should resolve as soon as the first one is resolved.
3. Like validator says, there is no attribute background. That one is browser specific. To do it the standards way, you have to use css:
Code:
<TD style="background: url(images/nav_bar.jpg);">
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top