471,582 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,582 software developers and data experts.

there is no attribute "BACKGROUND"

Does any body know how to fix this.
I am trying to validate these html codes through the markup validation.
I have 5 error messages:

1) Line 114, Column 15: there is no attribute "BACKGROUND" .

<td background="images/nav1bg.gif" onMouseOver="this.className='over'" onMouseOu

2) Line 223, Column 74: there is no attribute "BACKGROUND" .

…cellpadding="0" cellspacing="0" background="images/bgleftnav.gif">

3) Line 225, Column 67: required attribute "ALT" not specified .

…ges/blank_leftheaders.gif" width="172" height="45"></td>

4) Line 254, Column 280: there is no attribute "XML:SPACE" .

…js" type="text/javascript" xml:space="preserve">

5) Line 287, Column 61: required attribute "ALT" not specified .

…img src="images/maincontent.gif" width="584" height="45"></td>

If you can get back to me as soon as possible so I can fix it I would really appreciate it. Thanks
Sep 21 '07 #1
1 3769
drhowarddrfine
7,435 Expert 4TB
1 and 2 are as stated, there is no such attribute in modern markup. Use CSS.

3 and 5 refer to the "ALTernate" text for an image should images not be available, such as a reader for the blind.

4 means you are probably referring to Microsoft Office stuff which has nothing standard about it. Do not use it.
Sep 21 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

17 posts views Thread by Torbjørn Pettersen | last post: by
4 posts views Thread by Charles Law | last post: by
5 posts views Thread by johnsuth | last post: by
7 posts views Thread by chardish | last post: by
reply views Thread by Vinnie | last post: by
1 post views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.