RE: [PHP] why is html code written like this? <hr />

From: Date: Mon, 02 Sep 2002 11:34:53 +0000
Subject: RE: [PHP] why is html code written like this? <hr />
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-114909@lists.php.net to get a copy of this message
Ok, but is this kind of html compliant with old browsers like Netscape 4? Is it compliant with most new browsers? - Victor > www.argilent.com -----Original Message----- From: Adrian Murphy [mailto:adrian.murphy@2020tourism.com] Sent: Monday, September 02, 2002 7:13 AM To: victor@argilent.com; php-general@lists.php.net Subject: Re: [PHP] why is html code written like this? <hr /> thats xhtml - it's xml comliant html. tags must be closed so a tag like <hr> which didn't have a closing tag is written <hr /> so,for example in php the nl2br() function now produces <br /> instead of the old <br> ----- Original Message ----- From: "Victor" <victor@argilent.com> To: <php-general@lists.php.net> Sent: Monday, September 02, 2002 12:16 PM Subject: [PHP] why is html code written like this? <hr /> > When I learned html it was always written like this: </hr> now I see > people write it like this: <hr />... why? > > - Victor > www.argilent.com > > > ______________________________________________________________________ > Post your free ad now! http://personals.yahoo.ca > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca

« previous php.general (#114909) next »