|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Optional Closing Tags in HTMLThis is a discussion on Optional Closing Tags in HTML within the General Development forums. Topic: For as long as I've been validating web pages, I never realized that the closing </head> tag ... |
![]() |
![]() |
|
![]() |
LinkBack | Thread Tools | ![]() | Display Modes | ![]() |
|
|
#1 (permalink) |
|
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? _________________ make money favorite casual games |
|
|
|
|
|
|
#3 (permalink) |
|
The start and end tags for html, HEAD and BODY are all optional in html. It's perfectly valid to leave them all out.
I'd be concerned that something, somewhere would not parse the document correctly if I removed the closing </head> element. |
|
|
|
|
|
|
#5 (permalink) |
|
Yeah, it's best to just leave them in. It doesn't save you any significant time typing, or save any significant amount of bandwidth, and it's far more semantically accurate to have the closing tags. Leave 'em in; the web's moving forward to XHTML where leaving out tags aren't allowed.
![]() |
|
|
|
|
![]() | ![]() | ![]() |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| H.T.M.L. Elements | snowman | Coding Tutorials | 1 | 10-24-2008 07:49 AM |
| Optional Closing Tags in HTML | Carrym | HTML & CSS | 4 | 09-05-2008 06:13 AM |
| Basic H.T.M.L. Tags | snowman | Coding Tutorials | 1 | 09-04-2008 11:38 AM |
| A language known as HTML | Capuano25 | HTML & CSS | 4 | 07-22-2008 05:48 AM |
| Intro. to H.T.M.L. | snowman | Coding Tutorials | 0 | 12-09-2006 07:02 PM |