Unread 08-22-2007, 01:46 PM
paulj paulj is offline
Senior Member
Join Date: Jul 2007
Posts: 521
  #1  
Default 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...
Reply With Quote
Unread 08-22-2007, 02:26 PM
Admin
Posts: n/a
  #2  
Default

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.
Reply With Quote
Unread 08-22-2007, 03:14 PM
doctordew doctordew is offline
Senior Member
Join Date: Aug 2007
Posts: 121
  #3  
Default

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.
__________________
Make Money Blog
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:11 AM.


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