It appears you have not yet registered with our community. To register please click here...


Optional Closing Tags in HTML

This is a discussion on Optional Closing Tags in HTML within the HTML & CSS forums. Topic: For as long as I've been validating web pages, I never realized that the closing </head> tag ...


Reply
 
Postbit Seperator LinkBack Thread Tools Postbit Seperator Display Modes
Old 03-21-2007, 08:36 AM   #1 (permalink)
 
Status: Junior Member
Join Date: Mar 2007
Posts: 3
Trader Rating: (0)
Carrym is on a distinguished road
TD$: 0.00
Donate
Default Optional Closing Tags in HTML
For as long as I've been validating web pages, I never realized that the closing </head> 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 concerned that something, somewhere would not parse the document correctly if I removed the closing </head> element.

Are my concerns unfounded?
Carrym is offline   Reply With Quote
Old 06-17-2007, 10:38 AM   #2 (permalink)
 
Status: Junior Member
Join Date: May 2007
Posts: 3
Trader Rating: (0)
0ctopus8 is on a distinguished road
TD$: 0.00
Donate
Default Re: Optional Closing Tags in HTML
It's all about habits. Personally I'd never feel comfortable if I didn't close the <head> tag
0ctopus8 is offline   Reply With Quote
Old 06-26-2007, 03:37 AM   #3 (permalink)
 
Status: Junior Member
Join Date: Jun 2007
Posts: 2
Trader Rating: (0)
rfresh is on a distinguished road
TD$: 0.00
Donate
Default Re: Optional Closing Tags in HTML
You should always match tags regardless.
__________________
RalphF
rfresh is offline   Reply With Quote
Old 04-07-2008, 05:51 AM   #4 (permalink)
 
Status: Member
Join Date: Apr 2008
Posts: 42
Trader Rating: (0)
chetan1 is on a distinguished road
TD$: 310.00
Donate
Default Re: Optional Closing Tags in HTML
when u use tags close tags at that moment and work between tags.If u do this,will never forget to close tags.






web design
chetan1 is offline   Reply With Quote
Old 09-05-2008, 05:13 AM   #5 (permalink)
 
Status: Member
Join Date: Jul 2008
Posts: 38
Trader Rating: (0)
sujal is on a distinguished road
TD$: 225.00
Donate
Default Re: Optional Closing Tags in HTML
Hi

I also think that HTML have no rules about their tags but on the other hand XHTML is very strict with TAgs.
some other optional tags are write below. I think you all are agree with me.
Quote:
* </area>
* </base>
* <body>
* </body>
* </br>
* </col>
* </colgroup>
* </dd>
* </dt>
* <head>
* </head>
* </hr>
* <html>
* </html>
* </img>
* </input>
* </li>
* </link>
* </meta>
* </option>
* </p>
* </param>
* <tbody>
* </tbody>
* </td>
* </tfoot>
* </th>
* </thead>
* </tr>
thanks
sujal is offline   Reply With Quote
Table Bottom LeftTable BottomTable Bottom Right
Reply


Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Optional Closing Tags in HTML nocko General Development 6 07-07-2010 12:12 PM
H.T.M.L. Elements snowman Coding Tutorials 1 10-24-2008 06:49 AM
Basic H.T.M.L. Tags snowman Coding Tutorials 1 09-04-2008 10:38 AM
A language known as HTML Capuano25 HTML & CSS 4 07-22-2008 04:48 AM
Intro. to H.T.M.L. snowman Coding Tutorials 0 12-09-2006 06:02 PM


Home | Site Map | Contact | Archive | Top

 

Copyright © 2007 - 2010 iTalkWebs Network

Search Engine Optimization by vBSEO 3.1.0