Home
Search
Recent Posts
Login
Register
Contact Us
TechnicalTalk
»
Graphics and Web Design
»
HTML/XHTML/DHTML & CSS
Optional Closing Tags in HTML
Username
Password
Forgot your password?
Would you write for us? We are hiring...
Check out our new Freelance Job Board
Pages: [
1
]
Go Down
« previous
next »
Email this topic
|
Print
0 Members and 1 Guest are viewing this topic.
Optional Closing Tags in HTML
Anchor
Activity
0%
New Coder
Posts: 20
Topics: 16
Optional Closing Tags in HTML
January 17, 2009, 09:35:01 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?
polas
Activity
33.33%
Code Guru
Gender:
Posts: 1399
Topics: 85
Re: Optional Closing Tags in HTML
January 19, 2009, 05:23:36 AM
That seems strange, I would consider not closing a tag to be very poor style, even if a web browser does parse it correctly. Really, it takes very little effort to do </head> and it avoids any issues with tools written by authors who do not realise that that closing tag is optional.
Mesham Type Oriented Parallel Programming Language
,
Free online technical support
katiedeneuve
Activity
0%
New Coder
Posts: 17
Topics: 2
Re: Optional Closing Tags in HTML
August 13, 2010, 08:33:38 AM
Leaving HTML tags option is a real bad idea and closing tags is not difficult too, and it can annoy those who don’t know about it.
immobilien mallorca
|
Cheap Website Design
|
chicago movers
Wally
Activity
0%
New Coder
Location: USA
Gender:
Posts: 37
Topics: 3
Re: Optional Closing Tags in HTML
August 13, 2010, 10:32:17 AM
100% agreement on the bad idea comment, it's lazy coding leaving things like closing tags out. Never let yourself fall into bad habits they have a way of biting you in the rear down the road.
Totally-Gaming, when you really want to talk games.
polas
Activity
33.33%
Code Guru
Gender:
Posts: 1399
Topics: 85
Re: Optional Closing Tags in HTML
August 13, 2010, 04:16:41 PM
Quote from: WallyNet on August 13, 2010, 10:32:17 AM
Never let yourself fall into bad habits they have a way of biting you in the rear down the road.
Agreed!
Mesham Type Oriented Parallel Programming Language
,
Free online technical support
Admin
Code Guru
Location: India
Gender:
Posts: 1387
Topics: 105
Re: Optional Closing Tags in HTML
August 13, 2010, 08:15:55 PM
To be a Good programmer always remember to follow the rules that exist for that language.
Missing closing tags in HTML is considered as poor programming practice and it can put bad impression about you if somebody viewing your site notices it. As every one said it really takes a small amount of time to write the closing tag, so don't ignore it.
Email this topic
|
Print
Pages: [
1
]
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Technical Resources - Articles and Videos
-----------------------------
=> Read/Post Free Articles
===> SEO and Marketing
===> Graphics and Design
===> Operating Systems
===> Programming
=> Video Tutorials
-----------------------------
Programming and Web Development
-----------------------------
=> C/C++
=> Visual Basic 6.0
=> Classic ASP 3.0
=> .NET
=> PHP
=> JAVA
=> Python
=> JavaScript and VBScript - Scripting Languages
=> Web Security
=> Other programming languages
=> Database Programming Discussions
===> Microsoft SQL Server
===> My SQL
-----------------------------
Graphics and Web Design
-----------------------------
=> HTML/XHTML/DHTML & CSS
=> Photoshop and Flash
=> General Web Design
=> Review your design template or website
-----------------------------
Operating Systems
-----------------------------
=> Windows
=> Linux and Unix
=> General - Operating System Discussion
-----------------------------
SEO and Marketing Success Strategy
-----------------------------
=> Search Engines
===> Google
===> Yahoo
===> Microsoft MSN - Bing
=> SEO - Search Engine Optimization
===> Web Directories
===> Link Development
=> Internet Marketing and Advertising
===> Affiliate Programs
===> Generating Revenue
===> Increasing Traffic
=> General Marketing Discussion
=> Promote Your Service
-----------------------------
Web Hosting and Hosting Management
-----------------------------
=> Web Hosting
===> Free Web Hosting
===> Web Hosting Request
=> Web Hosting offers and plans
-----------------------------
Miscellaneous
-----------------------------
=> Blogging
=> Off-Topic Discussion - Non Programming
=> Social Networks
-----------------------------
Forum Information
-----------------------------
=> Introduce Yourself
=> Suggestions and Feedback
=> Forum Rules/Guidelines/News/Announcements
=> Forum Support
=> Forum Games and Contests
===> Games
Powered by SMF 1.1.15
|
SMF © 2011, Simple Machines
Google visited last this page January 15, 2012, 04:22:36 PM
Loading...