[wp-hackers] WP issues

Geoffrey Sneddon foolistbar at googlemail.com
Tue Jun 5 15:22:29 GMT 2007


On 4 Jun 2007, at 21:05, Charles wrote:

>> Actually, you can't make an HTML theme. HTML disallows the solidus
>> on empty tags.
>
> I know you mean that HTML disallows the minimized syntax for empty  
> elements
> (since the regular form also uses a solidus in the closing tag),  
> but "<br
> />" validates fine for HTML Transitional.
>
> If you're not the type that requires that your document be  
> perfectly valid
> in order to sleep at night (I tend to think of validators as more  
> of helper
> tool than a gateway), the minimized form is also 100% reliable even  
> if your
> DOCTYPE is HTML Strict, AFAIK.

No, the solidus represents a null end tag[1]. It validates as a NET,  
not as a self-closing tag

[1]: http://www.is-thought.co.uk/book/sgml-9.htm#NET


- Geoffrey Sneddon




More information about the wp-hackers mailing list