Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Using the close-tags proposed by the MSDN article would yield an invalid HTML document. Per the DTD and the SGML standard, the closing tag of IMG, an element with EMPTY content, MUST be omitted. The element is already closed before the parser gets to the closing tag - so, in essence, you would be trying to close it twice.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: