Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

HTML to be 'Incrementally Evolved' 359

MrDrBob writes "It has been decided that HTML is going to be incrementally updated, as the W3C believe that their efforts with XHTML are going unnoticed or unused by many websites out there. HTML is going to be worked on in parallel with XHTML (but with no dependencies), with the W3C trying to evolve HTML to a point where it's easier and logical for everybody to transition to XHTML. However, their work is still going to attempt to improve HTML in itself, with work on forms moving towards transitioning into XForms, but bearing in mind the work done by Webforms. In addition, the W3C's HTML validator is going to get improved, with Tim Berners-Lee wanting it to 'check (even) more stuff, be (even) more helpful, and prioritize carefully its errors, warning and mild chidings'. This looks like a nice step forward for the W3C, and will hopefully leave all the squabbling and procrastination behind."
This discussion has been archived. No new comments can be posted.

HTML to be 'Incrementally Evolved'

Comments Filter:
  • HTML is broken (Score:1, Insightful)

    by Anonymous Coward on Saturday October 28, 2006 @11:50AM (#16622568)
    HTML should go in a direction where content and form are truly separated. Have a document (or part of a document) mark the content in a purely logical fashion (like XML) and another document (or another part of the document) describe a presentation and which parts of the content to use where in that presentation.

    HTML relies too much on the order of the content for presentation. It should be more like the workflow in a DTP program: Add a text box to the layout, then fill it with text.
  • by macurmudgeon ( 900466 ) on Saturday October 28, 2006 @11:51AM (#16622578) Homepage
    What practical effect will this have? As long as browsers will render junk (X)HTML most people won't bother with an updated standard any more than they do the present one. Learning any proper coding system is work. What's the incentive other than pride in the craft? Firefox, IE, etc. make learning standards optional, which is just another word for more work.
  • A Waste of Time (Score:4, Insightful)

    by ImustDIE ( 689509 ) on Saturday October 28, 2006 @11:52AM (#16622592)
    I don't really see how this will improve the chances of their standards being adopted. It's not exactly like the leap from html to xhtml is all that confusing as is. This will just be even more confusing. Good luck getting all of the major browsers to support all of these incremental changes when they can't even keep up with the standards suggested years ago.
  • I think the way the W3C are going to try and go about it means that they'll gradually upgrade HTML so that there will eventually be a clear and simple transition path to XHTML, and therefore more websites will make the jump into the land of order.
  • by tepples ( 727027 ) <tepples.gmail@com> on Saturday October 28, 2006 @12:06PM (#16622718) Homepage Journal
    [The requirement that the entire document be well-formed] makes it unsuitable for sites that allow users to add content.

    Then make sure that the content added by the user is well-formed before adding it to the site.

  • Comment removed (Score:5, Insightful)

    by account_deleted ( 4530225 ) on Saturday October 28, 2006 @12:13PM (#16622796)
    Comment removed based on user account deletion
  • by vidarh ( 309115 ) <vidar@hokstad.com> on Saturday October 28, 2006 @12:21PM (#16622854) Homepage Journal
    It's a lot easier than you think to support the kind of feature sets most forums supports. I've written parsers to do more or less that (but accepting actual HTML tags) in both C++ and PHP, and it's quite straightforward. A very basic tag parser plus a stack of open tags and a lookup table to determine when to automatically close tags (to prevent tags that shouldn't enclose content, like "img" from enclosing anything following it at the same level, is really all you need. A few hundred lines at most in a reasonably high level language.

    I've done parsers that "scrub" HTML for constructs that might cause security risks or mess up the site layout too, that had to accept almost all "sane" html, and even that isn't particularly hard, though quite a bit more work.

  • HTML vs XHTML (Score:3, Insightful)

    by cgenman ( 325138 ) on Saturday October 28, 2006 @12:23PM (#16622884) Homepage
    HTML at the moment is solid, robust, and gets the job done. As it has evolved it has gained additional features and power at each step, including CSS integration, better javascripting, DHTML, etc, thus leading at every step to a better end-user experience.

    XHTML for all practical purposes, is HTML but with more errors. With XHTML, you get the power of being told that you have to put an end tag on all
      tags. And, umm, not a lot else. The benefits of switching to XHTML are mostly theoretical.

    The W3C needs to break the focus on validation, and get back to trying to work with developers and users to get what THEY want into specifications. It sounds like they realized that XHTML will not overtake HTML any time soon, and that they need to provide some sort of reason or reasons to make that change.
  • by grapeape ( 137008 ) <mpope7 AT kc DOT rr DOT com> on Saturday October 28, 2006 @12:24PM (#16622896) Homepage
    HTML has been and continues to be "Good Enough". If there were some truly compelling reason to upgrade to something else most already would have. When image tags were introduced, people abandoned lynx rather quickly, the same goes for transparent gif support, CSS, etc. Its nice to try to bring order or whatever the goal of xhtml is but frankly if its got the ability to slap some text on page, embed and image and throw in a pretty background its good enough for most people, they know it, they are comfortable with it and they arent going to change without a really compelling reason.
  • by JebusIsLord ( 566856 ) on Saturday October 28, 2006 @12:27PM (#16622918)
    xhtml 1.0 doesn't need the xml mimetype, only 1.1 does. The IE7 team's rationale is that they don't want to support the mime type until the xml renderer is capable of processing xhtml properly. Just "accepting" the xml mimetype and then using the html engine is cludgy, and I agree with him. But yeah: IE7 doesn't support xhtml 1.1. This is still planned for later (IE8?)
  • Very Simple (Score:5, Insightful)

    by Fnkmaster ( 89084 ) on Saturday October 28, 2006 @01:00PM (#16623220)
    Develop a few *actual* applications where the XML-compliance of XHTML is actually useful in an observable way, and everybody will start producing XHTML compliant code for new websites, lest they be left out from a new revolution on the web.

    As long as the benefits are just hypothetical (with XHTML somebody could develop useful parsing applications based on commodity XML parsers), try actually developing some such apps that generate real, observable value today, and you'll start convincing people who don't care about standards for their own sake.

    I do generally try to stick to XHTML 1.0, since I care about standards and ease of parsing, but the majority of people don't, and they are the target audience the W3C needs to work on convincing.
  • by hritcu ( 871613 ) on Saturday October 28, 2006 @01:10PM (#16623324) Homepage
    It is a problem with such groups like w3c that they have a baseless belief that even something that people are satisfied with needs tampering with.
    My opinion is also that is their quest to "evolve" their standards, the W3C is starting to become an obstacle for their adoption. It is evident that it is impossible to make something a true standard (adopted by the wide majority), when you make it a moving target at the same time. So the W3C should concentrate on making higher quality standards, rather than releasing poor standards often (like they do now!). "Release early, release often!" is good practice for (open source) developers, not for standard bodies!
  • Re:Advantages? (Score:5, Insightful)

    by jesuscyborg ( 903402 ) on Saturday October 28, 2006 @01:10PM (#16623326)
    But that same facet makes it very tough to write by hand. What I mean is that with HTML you've got all your tags [...]
    Funny, I always thought the hard part of writing XHTML wasn't actually closing my tags, but figuring out how to separate content and style enough to keep Berners-Lee happy, have it be easy to drop in new and totally different styles down the road, have it actually look good, but still keep my sanity.
  • Re:A Waste of Time (Score:4, Insightful)

    by baadger ( 764884 ) on Saturday October 28, 2006 @01:22PM (#16623408)
    Agreed. I don't see how incremental changes is going to do anything but produce more versions of legacy HTML to worry about in X years time when everyone should be using XHTML already.

    There are plenty of other things the W3C could work on. How about they spend some time extending 'forms' (which are essentially just embedded controls) to incorporate more complex widgets like embedded video viewers or audio players? I'm sick of being a Linux user and hitting pages that use some strange flash/activex player system or something thats sized in a pop up explicitly for Windows Media Player's browser plug in.

    They wouldn't actually have to produce anything using native widgets, just a set of standards regarding embedded video player sizes (and perhaps basic layout formats) that implementors could follow, and suggest a standard for styling this via CSS and controlling it via javascript.

    The web is more than just hypertext now, people expect media, but as it stands theres a dozen different ways to embed things like video it into a web page unlike images and the old faithful <img> tag. I say if it can work for images it can work for video and sound, and even flash and we can do away with alot of this activex and netscape embedded junk.

    Back on getting people to move to XHTML, I blame schools, the various courses i've been on that mention HTML still talk of it as a series of tag's in vaguely the right order rather than explaining the concept of XML, nesting or CSS.
  • by Dracos ( 107777 ) on Saturday October 28, 2006 @01:42PM (#16623554)

    HTML is dead. It's been superceded by XHTML for years now.

    HTML was a good idea with some rough edges. It took XHTML to smooth some of them out. Specs that are less vague, more complete, and leave less to interpretation will fix more problems in the future.

    XHTML is simpler than HTML (contrary to popular belief) because the syntax and structure is more consistent than HTML. You don't have to wonder whether you need a closing a tag: all tags get closed. All attributes get quoted. All tag names and attributes are lower case. It's really not that hard; if you don't want to do it because you can't read it anymore (you capitalization whore), that's what syntax highlighting is for. You just have to put forth a tiny bit of effort to make turn these rules into instinct.

    There are two reasons why the transition to XHTML hasn't happened:

    • Browsers and WYSIWYGs allow incredibly sloppy markup
    • Therefore, developers don't see any need to move up

    As long as browsers try to interpret messy markup, few people are going to care. It's the "good enough" attitude. "Quirks mode" is the big bad here. Browsers and visual authoring tools need to tell users that the page they are looking at is non-conformant and warn that it may not behave correctly. No other softare on the planet is as forgiving of the data it handles as web browesers.

    If GCC still compiled C code when curly braces, paretheses, and quote marks are omitted at random, how much shittier would all the C code in the world be?

    At least the W3C is doing something about the quagmire, but working in parallel is just a waste of time. Let HTML be, it's old and busted. XHTML is the new hotness. The W3C can spew out all the Recommendations (the flimsient of terms) it wants, but no one is going to care unless there's some enforcement at the other end of the line.

    One thing the W3C needs to do is get off the semantic web high horse; it's putting the cart before the horse. They need to evangelize correctness, and the semantic web (plus other aspects) will follow naturally.

    So, all you so called "developers" and "designers", keep on churning out your HTML 4.01 Transitional pages (or let Dreamweaver do it for you) with bloated table layouts. You'll keep contributing to the problem.

  • by BenoitRen ( 998927 ) on Saturday October 28, 2006 @01:46PM (#16623592)
    And who's fault is that? Certainly not the W3C's. They've been advocating the usage of CSS for style for years. Many of the HTML tags that only provide styling have been marked as deprecated in favor of CSS.

    You could argue that they should have outright removed all of the HTML tags that only provide styling, but we all know that won't stop browsers from rendering them for compatibility.

    If you really think XHTML is better, think again. While it doesn't support , it still supports , , , , , and more presentational tags. Also, since that strange browser from Redmond doesn't support the proper MIME type, XHTML is rendered as HTML anyway, making the effort useless.

    No, the real issue here is bad web designers.
  • by Anonymous Coward on Saturday October 28, 2006 @02:01PM (#16623688)
    The advantages of consistency *ALWAYS* prevail when you're dealing with computers. Anything else is just begging for errors. And I'm quite certain that if I ran any sites you wrote in plain HTML through three or four browsers, I would get very different results.
  • Re:Advantages? (Score:3, Insightful)

    by timeOday ( 582209 ) on Saturday October 28, 2006 @02:42PM (#16623982)
    Separating content from presentation on the client side is just a bad idea. It pushes too much complexity to the client, which users don't care about anyways. Browsers should only have to support a simple presentation format, which a little simple customization of basic things like linewrapping. Let the server side worry about chugging through various data sources and formatting templates to create a good-looking presentation, but don't try to standardize all that on the client side. It just hasn't worked.
  • by r00t ( 33219 ) on Saturday October 28, 2006 @03:50PM (#16624430) Journal
    That is the LaTeX attitude in a Word world.

    Presentation is everything. Humans are emotional, not logical.

    PDF and Flash are damn close to what people want. The main thing holding them back is that they aren't as integrated into the browser as HTML.
  • Re:A Waste of Time (Score:2, Insightful)

    by BenoitRen ( 998927 ) on Saturday October 28, 2006 @05:27PM (#16625168)
    The reality is that you don't need XHTML unless you need to use namespaces in your document or use XML tools on it.

    Most people who use XHTML do so for the wrong reasons. Part of them do because it's the newest cool thing.

Saliva causes cancer, but only if swallowed in small amounts over a long period of time. -- George Carlin

Working...