Posted by Rik on 05/26/06 15:30
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\>"?
"\<br\>" is nonsense
"<br />" is XHTML as indicated earlier
The / isn't an escape in that case, but correct code to ('self-')close the
opened br tag.
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|