Posted by David Dorward on 07/19/05 00:31
Robert Frost-Bridges wrote:
> Following a suggestion in another thread to investigate the php function
> nl2br() I have been able to format content inputted via a textarea into
> separate paragraphs (well line breaks anyway). These line breaks however
> are the xhtml <br /> (which they are supposed to be) but the page is html
> 4.01. If I validate it however it checks out fine but I'm not sure why? Is
> <br /> ok to use then?
Short version: No
Longer version: It means the same as <br>> - and some browsers do render
it as such.
Long version: http://www.cs.tut.fi/~jkorpela/html/empty.html
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Navigation:
[Reply to this message]
|