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

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

 



On Sep 22, 2008, at 10:29 AM, tedd wrote:

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

~Philip


I 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

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

~Phil

--
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