You are here: |OT| <br /> vs <BR> « PHP Programming Language « IT news, forums, messages
|OT| <br /> vs <BR>

Posted by John Dunlop on 06/09/06 18:33

Markus Ernst:

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

The point, I think, isn't that you are or aren't likely to run into
any problems, but rather that for interoperability's sake you should
follow what the specs say - if not by the letter then at least in
spirit.

--
Jock

 

Navigation:

[Reply to this 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

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