Ultimate Web Site Drop Down Menu Forum

Ultimate Web Site Drop Down Menu Forum (http://www.udm4.com/forum/index.php)
-   CSS and HTML (http://www.udm4.com/forum/forumdisplay.php?f=8)
-   -   Optional Closing Tags in HTML (http://www.udm4.com/forum/showthread.php?t=407)

paulj 08-22-2007 01:46 PM

Optional Closing Tags in HTML
 
For as long as I've been validating web pages, I never realized that the closing tag was optional in HTML. I feel as if I've missed the boat at times.While I'm all for trimming excess code, I just cannot for the life of me strip out closing tags because they are optional in HTML. I'd be...

08-22-2007 02:26 PM

The closing tag is only optional (I think) in HTML3.2 and HTML4. If you use any XHTML version, the all tags must be properly closed.

doctordew 08-22-2007 03:14 PM

Yeah I've realized that. When I was writing HTML codes at the begining it took me time to realize I hadn't closed a lot of things, and yet they still work. They get caught in the html validaters though.


All times are GMT. The time now is 10:40 AM.

Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.