I have started to use the HTML editor that comes with MyEclipse.
This editor flags image tags such as
<img src=”http://xyz.com/images/logo.gif” alt=”test” >
saying that the “element type “img” must be terminated by a matching
end-tag.
If I change the above img tag to
<img src=”http://xyz.com/images/logo.gif” alt=”test” />
i.e., I close the tag with a forward slash and angle right bracket,
than there are no more complaints.
Is this a new rule in HTML, that tags need to be treated more like
common XML and closed “properly” with “/>”, or what is it that the HTML editor wants?
Thanks for your help and advice,
Wolfgang,
Santa Barbara, CA