Re: <br> was [PHP] Re: render html
| From: | Philip Thompson | Date: | Mon, 22 Sep 2008 16:12:24 +0000 |
| Subject: | Re: <br> was [PHP] Re: render html | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-280705@lists.php.net to get a copy of this message | ||
On Sep 22, 2008, at 10:29 AM, tedd wrote:
At 10:15 AM -0500 9/22/08, Philip Thompson wrote:Odd. Never seen that. Well, it should be removed from existence! Nothing ever goes between br tags! I <br>like</br> chicken. Now how would that appear on screen?! Nobody knows! =D ~PhilAnd <br></br> is just not right at all (at least for XHTML, and I doubt for any other doctype). You can look at the DTD for XHTML and see that <br></br> is not an option. http://www.w3.org/QA/2002/04/valid-dtd-list.html ~PhilipI never use the <br></br> tag, but if you look here: http://www.w3.org/TR/2006/REC-xml-20060816/#dt-empty You can see that they use it as an example, namely: -- quote Examples of empty elements: <IMG align="left" src="http://www.w3.org/Icons/WWW/w3c_home" /> <br></br> <br/> -- un-quote Cheers, tedd