On 2006-04-11 09:40, David Pratten wrote: > According to the view of the xhtml 1.0 DTD at > http://linux.duke.edu/~mark/docs/dtds/xhtml/xhtml-basic10/elements/img.html > the img element does not have <body> as an allowable parent. > > However the following validates as XHTML 1.0 Transitional: > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <title></title> > </head> > <body> > <img alt="earache" src="earache_02.JPG" /> > </body> > </html> The above page is about XHTML 1.0 Basic. Your code is XHTML 1.0 Transitional, in which img can appear as a direct children of body. -- David HåsätherReceived on Tuesday, 11 April 2006 12:51:51 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:21 GMT