W3C home > Mailing lists > Public > www-validator@w3.org > May 2004

Background problem

From: SEAN MCDERMOTT <mackviola@hotkey.net.au>
Date: Mon, 10 May 2004 12:09:21 +0930
Message-ID: <000801c43638$02a8c560$03000004@mcdermott>
To: <www-validator@w3.org>
Coding from W3schools

 

http://www.w3schools.com/html/html_tables.asp

 

<table border="1"  background="/images/bgdesert.jpg">

<td   background="/images/bgdesert.jpg">  Second</td>

 

**************************

 

http://validator.w3.org/check

 

 

My code

 

 

This page is not Valid XHTML 1.0 Transitional!

 

Below are the results of attempting to parse this document with an SGML parser. 

1.      Line 16, column 15: there is no attribute "background"

<td background="FRNTPAGES8CP.jpg" >

                        # error

 

The schools code and mine appear identical

 

 

w3schools code

 

This page is not Valid XHTML 1.0 Transitional!
Below are the results of attempting to parse this document with an SGML parser. 

1.      Line 7, column 6: end tag for "head" which is not finished

</head>

2.      Line 26, column 11: there is no attribute "background"

background="/images/bgdesert.jpg">

 

Same Error

 

*************************

 

I have used the same "DOCTYPE and <meta http-equiv=" as w3cschools uses.

 

 

I am bewildered as to why I get an error. The reason I have chosen background and not img is to nable me to superimpose text on the background.

 

If I can solve this problem ny code will be w3 xhtml compatable which is my aim..
Received on Sunday, 9 May 2004 23:25:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:13 GMT