Re: [VE][79] Error Message Feedback

Andrew Gray wrote:
> For example, I have the code as follows:
> 
>           <img src="images/break.bmp" width=100% height=15></img>
> 
> The final closing tag for /img is underlined and red.

<img> is an empty element, so for HTML (unlike XHTML) you do not need to 
include the closing tag for it.  Just remove all occurances of </img> 
from your document to fix it.  However, I thought that was actually 
valid SGML syntax (like it is for XML) since there is nothing between 
the tags, so I don't know why the validator is complaining.  Perhaps 
I've been misinformed about that.

-- 
Lachlan Hunt
http://www.lachy.id.au/

Received on Wednesday, 15 September 2004 05:49:44 UTC