Re: Could somebody pls. correct a typo?

From: Date: Sat, 21 Apr 2001 14:04:19 +0000
Subject: Re: Could somebody pls. correct a typo?
References: 1 2 3 4 5 6 7  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969335069@lists.php.net to get a copy of this message
If he said <br/>, then his entire argument makes no sense. The nl2br() function returns <br />, not <br/>. I'm not sure what he's having difficulty with. =) I think that I just assumed that by saying <br/> he actually meant <br />. Daniel ----- Original Message ----- From: "Hojtsy Gabor" <goba@mail.digitel2002.hu> To: "Daniel Beckham" <danbeck@dealnews.com> Sent: Saturday, April 21, 2001 5:13 AM Subject: Re: [PHP-DOC] Could somebody pls. correct a typo? > > No, it's not difficult, but why should it really matter? <br /> or <p /> > or > > <hr />, et. al. should all be compatible with older browsers. Like I > said, > > it's perfectly valid SGML/XML. > > > > The following html works flawlessly in NS 4.72: > > > > <html> > > <head><title></title></head> > > <body> > > This is a test. > > <p /> > > This is another test.<br /><br /><br /> > > This is a final test. > > <hr /> > > </body> > > </html> > > Original text by Thomas: > > | since Browsers like Netscape 4.x don't react on <br/> > > He said <br/> not <br /> the first wont work (see the XHTML spec). > > Goba > ........................................................... . . . . . > Editor of the Hungarian PHP manual, Admin of the Hungarian PHP mirror > > >

« previous php.doc (#969335069) next »