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

end tag for "img" omitted, but OMITTAG NO was specified .

From: Lesley Dickinson <dickinson@lawnbowls.plus.com>
Date: Thu, 8 Jun 2006 09:49:54 +0100
To: <www-validator@w3.org>
Message-ID: <000001c68ad8$8bda8200$2b279fd4@LesLaptop>
I have Yahoo! News RSS input on my page.

 

The input (over which I have no control) results in an invalid XHML page
as this line it produces is incorrect:

 

<a href="http://news.search.yahoo.com/news"><img
src="http://us.i1.yimg.com/us.yimg.com/i/us/nws/th/main_142.gif"
width="142" height="18" border="0" alt="Yahoo! News"></a><br />

 

Produces the error: 'end tag for "img" omitted, but OMITTAG NO was
specified'

 

I know this should be:

 

<a href="http://news.search.yahoo.com/news"><img
src="http://us.i1.yimg.com/us.yimg.com/i/us/nws/th/main_142.gif"
width="142" height="18" border="0" alt="Yahoo! News" /></a><br />

 

Two questions : 

1) Does this have any adverse effect on later image elements in the page
?

 

2) I think I am clutching at straws, but is there anything I can do
about this within my input line which is:

 

<?php

                   require_once '/var/www/html/carp/carp.php';
CarpCacheShow("http://news.search.yahoo.com/news/rss?p={DNA%20Paternity%
20Test}&ei=UTF-8");

 
?>

Lesley

 
Received on Thursday, 8 June 2006 13:54:40 GMT

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