12, May 2008

Optional Closing Tags in HTML - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  HTML & XHTML (Moderator: Meth0d)
Topic: Optional Closing Tags in HTML
« previous next »
Pages: [1] Print

Author Topic: Optional Closing Tags in HTML  (Read 268 times)
I crack Photoshop!
*
Posts: 3
30 credits
Members referred : 0


« on: Feb 27, 2008, 11:11:47 AM »

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?
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7822
39867 credits
Members referred : 3



« Reply #1 on: Feb 27, 2008, 11:32:47 AM »

I've just validated an XHTML document without </head> and it is not passing validation. So I guess you are wrong about that. Closing the <head> tag is not optional Smiley

Trial and Error my two best teachers Cool
Promote your blog for free.... Visit through proxy

Last blog : Keep it Legal - Tims guide to legal notices
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6236
38242 credits
Members referred : 374


It's time to use PHP5!


« Reply #2 on: Feb 27, 2008, 02:15:12 PM »

I guess this browser called IE doesn't care about many tags Cheesy
the only optional closing tag I know is </option> Smiley


Last blog : Website layout dimensions today
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7614
Tags : Optional Closing Tags in HTML Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  HTML & XHTML (Moderator: Meth0d)
Topic: Optional Closing Tags in HTML
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 12, 2008, 04:10:47 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 34.926
Total Topics: 7.262
Total Members: 3.478
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: kellimy

16 Guests, 2 Users online :

10 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.