Reply to Re: |OT| <br /> vs <BR>

Your name:

Reply:


Posted by Geoff Berrow on 06/09/06 21:07

Message-ID: <1149878029.315129.193540@u72g2000cwu.googlegroups.com> from
John Dunlop contained the following:

>> I never heard about a case where <br /> did cause any problem...
>
> I can think of a couple. For example, validation. <br /> means
>something different in HTML than it does in XHTML. In HTML, '/' closes
>the tag and '>' is treated literally. Not a big problem, maybe, but
>probably not what you meant.

It is annoying though that nl2br() only returns <br /> Would it be so
difficult to include a switch so that it could output <br> ?

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация