Go Back   Ultimate Web Site Drop Down Menu Forum > Web Development > CSS and HTML
Register FAQ Members List Calendar Today's Posts

Reply
Thread Tools Display Modes
Unread 08-22-2007, 02: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, 03: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, 04: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



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 11:19 PM.


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