Re: <br> was [PHP] Re: render html

From: Date: Mon, 22 Sep 2008 14:24:44 +0000
Subject: Re: <br> was [PHP] Re: render html
References: 1 2 3 4 5 6 7 8 9  Groups: php.general 
Request: Send a blank email to php-general+get-280683@lists.php.net to get a copy of this message
At 8:37 PM +0100 9/21/08, Stut wrote:
That's what the DocType is. It tells the browser what version of (X)HTML you're using and therefore which tags are allowed and which are not. It has a major effect on some browsers, and if you use the right one it can help a lot when trying to make pages look the same in all browsers. Worth reading up on. -Stut
-Stut: I've done a lot of reading about DOCTYPE's and I realize that the DOCTYPE statement tells the browser what version of (X)HTML the web page is, but I never made the connection that would limit how one could use the <br> tag. You know, you can read about the "br" tag everywhere without any mention of DOCTYPE. So in the end, we have <br>, <br/>, <br />, and <br></br> -- depending on what DOCTYPE you're using -- that sure makes things simpler, huh? Thanks for enlightening me on this. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#280683) next »