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
==================
[Back to original message]
|