You are here: Re: Newline « PHP Programming Language « IT news, forums, messages
Re: Newline

Posted by Jerry Stuckle on 04/13/06 22:56

Carl Vondrick wrote:
> infernon wrote:
>
>>print "</br>";
>>
>>Is this correct practice?
>
> No, it needs to be either <br> or <br /> depending on what markup language
> you are using (HTML uses <br> and XHTML uses <br />).
>
> On the PHP side, the following is a little bit faster:
>
> echo '<br />';
>

But <br /> is invalid html 4.x, although browsers will generally process it OK.
It's only valid for xml or xhtml.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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