You are here: Re: "<br>" v "<br\>" « All PHP « IT news, forums, messages
Re: "<br>" v "<br\>"

Posted by Martie on 05/26/06 20:35

On Fri, 26 May 2006 12:03:17 +0100, MS wrote...
>
>Why do people use "<br/>" when outputting a string?
>
>the "<br>" seems to work !!
>
>are there any benefits of using the escape ? and why would it not be
>"\<br\>"?
>
>MS
>

Some HTML tags have an open and close such as these...

<a href="link_here">Link text</a>
<table><tr><td....> </td></tr></table>

Others like and <br> and <input ...> don't they only have one tag. The "/" at
the end is the way to close it. From my understanding it was a change from
earlier HTML to the new XHTML.



Martie
--
Newsguy Unlimited $19.95 / month
http://newsguy.com/overview.htm

 

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

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