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 Search this Thread Postbit Seperator Display Modes
Old 03-21-2007, 09: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, 11: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, 04: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
http://www.GoldRushWebHosting.com
rfresh is offline   Reply With Quote
Old 04-07-2008, 06:51 AM   #4 (permalink)
 
Status: Member
Join Date: Apr 2008
Posts: 44
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, 06:13 AM   #5 (permalink)
 
Status: Member
Join Date: Jul 2008
Posts: 40
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 Search this Thread
Search this Thread:

Advanced Search
Display Modes




Home | Site Map | Contact | Archive | Top

 

Copyright © 2007 - 2010 iTalkWebs Network

Search Engine Optimization by vBSEO 3.1.0