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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux