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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to