Re: [PHP] <br> was [PHP] Re: render html
- From: tedd.sperling@xxxxxxxxx (tedd)
- Date: Mon, 22 Sep 2008 10:24:44 -0400
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
.
- Follow-Ups:
- Re: [PHP] <br> was [PHP] Re: render html
- From: Philip Thompson
- Re: [PHP] <br> was [PHP] Re: render html
- References:
- Re: render html
- From: Michelle Konzack
- Re: render html
- From: Lupus Michaelis
- <br> was [PHP] Re: render html
- From: tedd
- Re: [PHP] <br> was [PHP] Re: render html
- From: Ashley Sheridan
- Re: [PHP] <br> was [PHP] Re: render html
- From: tedd
- Re: [PHP] <br> was [PHP] Re: render html
- From: Ashley Sheridan
- Re: [PHP] <br> was [PHP] Re: render html
- From: tedd
- Re: [PHP] <br> was [PHP] Re: render html
- From: Stut
- Re: render html
- Prev by Date: Re: [PHP] Passing variables between pages
- Next by Date: Re: [PHP] SESSIONS vs. MySQL
- Previous by thread: Re: [PHP] <br> was [PHP] Re: render html
- Next by thread: Re: [PHP] <br> was [PHP] Re: render html
- Index(es):
Relevant Pages
|