| |||||||
This is a discussion on Optional Closing Tags in HTML within the HTML/CSS/JavaScript section, part of the Programming category; For as long as I've been validating web pages, I never realized that the closing </head> tag was optional in ...
![]() |
|
| | LinkBack | Thread Tools | Display Modes |
|
#1
| ||||
| ||||
|
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? |
|
#2
| ||||
| ||||
|
You can't/shouldn't remove closing tags. There are basically two type of tags in HTML, empty and closing. For ex. head is a closing tag which means it needs to closed (<head> and </head>) And empty tag does not require to be closed (<br>) I think you really need to learn basic HTML http://www.w3schools.com/html/default.asp
__________________ Would you like to Link To Us | Support TECH6 by going Premium Know more about me at Vinayaks.com | Follow TECH6 at Twitter |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |