![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 | |
|
Newbie
Join Date: Sep 2007
Posts: 5
Rep Power: 0
![]() |
Re: Optional Closing Tags in HTML
Quote:
__________________
http://www.explainth.at |
|
|
|
|
|
|
#12 |
|
Hobbyist Programmer
![]() Join Date: Oct 2007
Location: New York
Posts: 163
Rep Power: 10
![]() |
Re: Optional Closing Tags in HTML
Google can get away with a lot of things that us commonfolk can't.
![]()
__________________
DaniWeb IT Discussion Community Everything Information Technology related all in one convenient interactive online publication and community |
|
|
|
|
|
#13 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Re: Optional Closing Tags in HTML
Let me relate this issue to another of the same variety. Many compilers will accept "void main ...". Some compilers will also accept "fflush (stdin);". Others will accept "rewind (stdin);".
These are proprietary solutions that detect the difference between input buffers and output buffers and deal with them accordingly. Any reasonably proficient programmer, given a knowledge of the underlying implementation, can achieve solutions for these "problems". C and C++ chose not to address, directly, implementation issues. I personally believe that this is the correct approach. There's little doubt that this personal opinion is connected to the fact that I have built many systems with many kinds of keyboards and displays, and even systems without (except in test/debug modes) keyboards and displays, at all. The bottom line is that performance, however widespread, does not dictate the standards. Standards define compliance. Anything that does not meet the standards is non-compliant, unless the standard explicitly denotes freedom in the area, by deliberately not defining or not specifying some particular response.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#14 |
|
Hobbyist Programmer
![]() Join Date: Oct 2007
Location: New York
Posts: 163
Rep Power: 10
![]() |
Re: Optional Closing Tags in HTML
I was right! I predicted on my post on page one: I feel a C++ void main() lecture coming on ...
__________________
DaniWeb IT Discussion Community Everything Information Technology related all in one convenient interactive online publication and community |
|
|
|
|
|
#15 |
|
Programmer
Join Date: Oct 2007
Posts: 39
Rep Power: 0
![]() |
Re: Optional Closing Tags in HTML
|
|
|
|
|
|
#16 | |
|
Newbie
Join Date: Apr 2007
Location: Canada
Posts: 4
Rep Power: 0
![]() |
Re: Optional Closing Tags in HTML
Quote:
void main. Does that mean it's okay to follow Microsoft's example, too?Personally, I agree with Dani. The stricter you conform to the standards, the less likely you're going to screw up, and the less likely your website is going to screw up on some crap browser.
__________________
Duh. |
|
|
|
|
|
|
#17 |
|
Battle Programmer
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 754
Rep Power: 3
![]() |
Re: Optional Closing Tags in HTML
Standards compliance is also becoming a Good Thang(TM) in the industry as well, so we'll likely see many improvements in that so that there's less issue about those "some crap browsers" out there.
__________________
<insert disclaimer here> <insert shameless plug for Visual Studio here> |
|
|
|
|
|
#18 |
|
Newbie
Join Date: Dec 2007
Posts: 5
Rep Power: 0
![]() |
Re: Optional Closing Tags in HTML
It's a bad habit not to close any tag. The only tag I don't close is the <HTML> tag because I always forget when I'm finished with editing a webpage.
__________________
ME Cave Community Profile||Myspace Profile Cool Websites Cave Community||Will Host For Food |
|
|
|
|
|
#19 |
|
Newbie
Join Date: Dec 2007
Posts: 14
Rep Power: 0
![]() |
Re: Optional Closing Tags in HTML
Well, at least Microsoft is making up for it in Internet Explorer 8 since it did pass the Acid2 test, even though it don't really matter. All the Acid2 test passing for developers. Not like it will matter to the non-developers.
And it sucks that people have to have all CAP tags which is badly designed, or optional "" in the attributes, to optionally omit end tags. |
|
|
|
|
|
#20 |
|
Hobbyist Programmer
![]() Join Date: Oct 2007
Location: New York
Posts: 163
Rep Power: 10
![]() |
Re: Optional Closing Tags in HTML
Isn't that like the worst tag to forget?
__________________
DaniWeb IT Discussion Community Everything Information Technology related all in one convenient interactive online publication and community |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| start Learning HTMl | smita | HTML / XHTML / CSS | 0 | Mar 15th, 2007 7:38 AM |
| converting string to float | beginnerCCC | C | 22 | Oct 2nd, 2006 11:59 PM |
| Basics of HTML Tutorial | crawforddavid2006 | HTML / XHTML / CSS | 14 | Jul 11th, 2006 7:40 AM |
| Basic HTML Tutorial - Reuben Keeney | ReubenK | HTML / XHTML / CSS | 14 | Mar 26th, 2006 5:50 AM |
| HTML =/= Programming | Sane | Coder's Corner Lounge | 32 | Mar 8th, 2006 2:50 AM |