Re: <br> was [PHP] Re: render html
| From: | tedd | Date: | Mon, 22 Sep 2008 15:29:22 +0000 |
| Subject: | Re: <br> was [PHP] Re: render html | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-280695@lists.php.net to get a copy of this message | ||
At 10:15 AM -0500 9/22/08, Philip Thompson wrote:
And <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 -- ------- http://sperling.com http://ancientstones.com http://earthstones.com