[wp-hackers] WP issues

Geoffrey Sneddon foolistbar at googlemail.com
Tue Jun 5 21:33:25 GMT 2007


On 5 Jun 2007, at 21:00, Charles wrote:

>> No, the solidus represents a null end tag[1].
>
> Since HTML constructs like "<p></p>" are perfectly valid, HTML  
> obviously
> allows the solidus on empty tags.

Can you please cite something? The validator marks this as valid as  
it is a null end tag (so <p/> is equivalent to <p>/</p>). The SGML  
declaration of HTML[1] and SGML[2] make this plainly clear. The SGML  
declaration would need NESTC "/" and NET ">" to allow the behaviour  
you are describing.



- Geoffrey Sneddon

[1]: http://www.w3.org/TR/html4/sgml/sgmldecl.html
[2]: http://www.iso.org/iso/en/CatalogueDetailPage.CatalogueDetail? 
CSNUMBER=16387


More information about the wp-hackers mailing list