Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Optional Closing Tags in HTML
Old 10-05-2007, 08:40 AM Optional Closing Tags in HTML
Junior Talker

Posts: 3
Name: TANYA
Trades: 0
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?
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
GUIDE is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-05-2007, 10:50 AM Re: Optional Closing Tags in HTML
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,007
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
Considering that most everything now is coded in XHTML, get used to closing everything you open.

Take it from someone who remembers the room size computers you had to feed a box of punch cards the size of a copy paper box to make a picture of Snoopy made out of X's....GIGO (Garbage In, Garbage Out) still holds true. The cleaner your code is, the better your pages will function.
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 10-05-2007, 11:06 AM Re: Optional Closing Tags in HTML
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
TANYA: put a Javascript and/or an inline stylesheet into the head of your document, and then choose not to close the head tag. Then watch what happens to your page.

You'll never forget to close a head tag again after that.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 10-05-2007, 02:20 PM Re: Optional Closing Tags in HTML
Foundationflash's Avatar
Ultra Talker

Posts: 410
Name: Harry Burt
Location: Colchester, Essex, England
Trades: 0
Long live xHTML! Always close <tags>, even down to the <br />s. IT worth it just to get the satisfaction of validation I think
__________________
Foundation Flash tutorials :
Please login or register to view this content. Registration is FREE


New Dreamed Up Web Design:
Please login or register to view this content. Registration is FREE
Foundationflash is offline
Reply With Quote
View Public Profile Visit Foundationflash's homepage!
 
Old 10-05-2007, 03:41 PM Re: Optional Closing Tags in HTML
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Quote:
Originally Posted by Foundationflash View Post
Long live xHTML! Always close <tags>, even down to the <br />s. IT worth it just to get the satisfaction of validation I think
Not only that but to know you left your options open!
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 10-05-2007, 04:31 PM Re: Optional Closing Tags in HTML
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,007
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
Yes, but to keep your options open, you must close your <option> tag.
*duck*
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 10-05-2007, 10:35 PM Re: Optional Closing Tags in HTML
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
I don't know why anyone wouldn't want standards compliant code. You leave out all the tags you think you can and you may have a hard time finding the one that broke a page.
joder is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Optional Closing Tags in HTML
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.67340 seconds with 12 queries