W3C home > Mailing lists > Public > www-validator@w3.org > April 2006

img allowable parent elements

From: David Pratten <david@kazserve.org>
Date: Tue, 11 Apr 2006 13:40:23 +0600
To: <www-validator@w3.org>
Message-ID: <00f301c65d3b$35f12e90$0e00000a@parasat>

According to the view of the xhtml 1.0 DTD at
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"
<html xmlns="http://www.w3.org/1999/xhtml">
<img alt="earache" src="earache_02.JPG" />

Is this behaviour by design?

Received on Tuesday, 11 April 2006 12:39:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:30:51 UTC