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