Re: <br> was [PHP] Re: render html

From: Date: Sun, 21 Sep 2008 15:50:37 +0000
Subject: Re: <br> was [PHP] Re: render html
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-280644@lists.php.net to get a copy of this message
tedd wrote:
At 8:17 AM +0200 9/21/08, Lupus Michaelis wrote:
Michelle Konzack a écrit :
$body = "hello<br/><ul>ier</ul>hellohello";
                ^^^^^
        Should be <br />
Definitely no : <http://www.w3.org/TR/2006/REC-xml-20060816/#dt-empty> <http://www.w3.org/TR/2006/REC-xml-20060816/#NT-S> Or maybe for buggy browsers ?
Definitely no ??? <<<
I've always found this confusing.
I think this page explains the roots of the confusion very well: Empty elements in SGML, HTML, XML, and XHTML http://www.cs.tut.fi/~jkorpela/html/empty.html

« previous php.general (#280644) next »