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."
Please upgrade BLINK (Score:5, Funny)
Example of server side blink [blartwendo.com]
Wonderful!?
Re: (Score:3, Funny)
Or maybe we should have blinking characters added to Unicode?
I'm sure these would be nice innovations that Microsoft could include in post-Vista Windows versions.
Re: (Score:2, Funny)
Re: (Score:2)
Re: (Score:3, Funny)
This seems to go back all the way to the days when Netscape "incrementally evolved" HTML too, and frustrated developers commented that its next set of new HTML tags would probably be peek and poke.
Re: (Score:2)
More focus on standard the most will ignore. (Score:3, Insightful)
Re: (Score:2, Insightful)
Re: (Score:2)
Re: (Score:2)
Re: (Score:3, Informative)
No, no, and still no. It is a specific application of XML.
A Waste of Time (Score:4, Insightful)
Re:A Waste of Time (Score:4, Insightful)
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.
Re: (Score:2)
Re: (Score:3, Funny)
Yeah! People who write well formed, easy to parse XHTML documents when they don't necessarily have to are just sheep following a fad.
You know another group of people that annoy me? People who write properly indented, well documented ANSI C when everyone knows that gcc doesn't require it. Morons. I wish more people would only do the bare minimum required to compile/render their work.
-matthew
Re: (Score:2)
Is W3C so blind not to see what is so obvious? Are they so deaf not to hear the million developer's voices asking for only one thing? Stability. There is no feature in this world that could somehow compensate for dooming HTML to t
Re: (Score:2)
CSS2 has been around for over eight years now. So where's the fully-compliant browser?
I'd say the W3C has been holding up their end of the "stability" bargain quite admirably. Maybe these "milion developers" shuld actually start thinking about delivering on their end of it?
Looking forward to more crashing browsers (Score:2)
Re: (Score:2)
Of course 90% of the web would stop working too, for better or for worse.
Advantages? (Score:2)
Re: (Score:3, Informative)
With it being XML, it's easier to read with other tools - using an XML library makes it trivially easy to write code to turn an XHTML web-page into a highly structured, tree-like associative array which contains everything the original page contains.
In layman-speak - instead of mashing through the 'view source' equivalent (one big string), it becomes a mightily detailed tree, wit
Re: (Score:3, Interesting)
XHTML is VERY strict. That makes it very easy to parse. 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, but many people don't write them correctly. How often do you write a closing P tag? Do you close your IMG tags like you should (<IMG SRC=... />)? Most people don't. If you did that in XHTML, you're page would be wrong and if the browser is in strict mode, things die with an error. Improper nesting can also cause this (<P>Some
Re: (Score:2)
Re:Advantages? (Score:5, Insightful)
Re: (Score:3, Insightful)
Re: (Score:2)
So reject any story submission that's not valid; same with comments. Slashdot already checks comments for all sorts of crap. Besides, while its "a TON of work," its a TON of boring, well-defined repetitive work.
Re: (Score:2)
I've found that writing valid XHTML is pretty similar to writing valid HTML 4.
If you're more used to writing something which resembles HTML 4, but is completely invalid - then you'll have problems.
Re: (Score:3, Informative)
The disadvantage of XHTML is that it's harder to write initially and has stricter rules. Most people write broken HTML 4 transitional pages that, quite honestly, work fine for their audience (web only).
Parsing HTML is a bitch, working with it is, quite simply difficult. Additionally XHTML su
Advantages $$$ (Score:2)
It sounds like the adoption of XHTML is in the best interest of the professional IT community. As a more arcane and precise skill set, you will get fewer amateurs, easier maintenace, and be able to charge more for your services.
Re: (Score:2)
HTML was designed to be written with a text-editor, but XHTML/CSS was not really designed to be written by hand, it was designed with machines in mind.
Until a good X
XHTML (1.0) is easy (Score:2)
That is for XHTML 1.0, though. XHTML 1.1, and the remaining 1% of websites which go deep into further XHTML functionality are a different matter.
Re: (Score:2)
There is a minor potential payoff in that correct XHTML will be easier to parse for disabled users (think screen-readers, etc.). *Properly-written* HTML should not present a problem here either, but XHTML forces the markup to be properly-written.
Re: (Score:2)
Re: (Score:2)
One of the advantages is that you could use XSLT to convert an XHTML document in something else (like LaTeX, RTF, ...).
XSLT is possibly the most horrible language to use for transforming documents. Languages such as CDuce [cduce.org] are years ahead.
Rich.
Re: (Score:2)
Think about learning English grammar. Most of the time, a sentence has the subject first, then the verb, then the direct object. When you learn grammar in school, you spend one day learning this pattern, then spend the rest of the year studying all the exceptions. Imagine if someone came along and redefined English so that there were no exceptions. They could call it xEngli
The problem with XHTML... (Score:2)
This "feature" makes it unsuitable for sites that allow users to add content.
Re:The problem with XHTML... (Score:4, Insightful)
Then make sure that the content added by the user is well-formed before adding it to the site.
Re: (Score:2)
Please, by all means write a forum BBCode parser that outputs valid XHTML that works under the application/xml+html mime-type.
It's easier said than done, as you have to track every open and close tag and rewrite them if the user gets them in the wrong order or omits one.
Re: (Score:3, Insightful)
Re: (Score:2)
Please, by all means write a forum BBCode parser that outputs valid XHTML that works under the application/xml+html mime-type.
The wiki I wrote [merjis.com] does something analogous to that. (Not BBcode, but MediaWiki-ish markup which is similar). It's not really so hard for a competent programmer.
Rich.
Re: (Score:2)
Re: (Score:2, Interesting)
As for language, I don't really care, but it'd have to be able to sort out things like:
Missing close tags:
[url=http://www.slashdot.org/][b]Cool slashdot article!!![/url]
Out of order properties (the img open and close tags should not be
I don't get this at all (Score:2)
Coalition of the Working (Score:2)
UA makers should be able to submit to the W3C new proposed specs with both reference code and validator.
HTML versions should be date/timestamped, and validated between UA and server.
That kind of open, but moderated and encapsulated process will help ensure new specs are not only workable, but distributed to all UA makers (and programme
HTML vs XHTML (Score:3, Insightful)
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.
Re: (Score:2)
The benefits of switching to XHTML are mostly theoretical.
I found the benefit of being able to easily embed MathML into my XHTML documents to be quite practical. MathML is a pain to write, but fortunately there are good LaTeX to MathML translators around.
Re: (Score:2)
Too busy seeing XHTML/CSS has the -core- of everything and anything, they forget that we're not 10 years ago, and that developers actualy could care less about the theorical integrity of their apps, they just want it to work, and be maintainable. And sorry, needing 15 divs wrapped around a single element to get it positioned the way I want it to does NOT make it easier to maintain. Having a formatting spec t
Re: (Score:2)
I can code by hand, there are just things in life (like...err...-visual components-) that are better handled without. This is the same way as I -can- code C++, Java, or C# in VIM, create make files, compile it through command line. It is simply not the most efficient way of doing things in fast paced business environments.
Currently with the web, unless
becasue we dont care (Score:4, Insightful)
HTML 4.01 is good enough (Score:2)
So why not use strict? It is illegal in strict to have a target attribute in anchors, for example. No iframes (if used wisely, they can be intuitive)
XHTML doesn't give me enough reasons to migrate, although i did use it for my old thesis project.
Mod parent up --- lack of iframe blocks Strict use (Score:4, Informative)
Re:Mod parent up --- lack of iframe blocks Strict (Score:3, Insightful)
Wrong way around (Score:2)
There are 2 ways to deal with this if this isn't what you want..
1. Make HTML even more crappy and hope people stop using it (they will, in favor of the older less crappy version of course)
2. Make using XHTML easier and more attractive.
I don't see how you accomplish 2. by changing HTML
Think before choosing XHTML ... (Score:2, Informative)
Re: (Score:2, Informative)
Very Simple (Score:5, Insightful)
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.
Re: (Score:2)
Improvements to the validator sound good (Score:2)
When troubleshooting old web pages, it is quite annoying to have to wade through hundreds of 'required attribute "ALT" not specified.' or 'there is no attribute "HEIGHT".' to find the real cause of problems, like 'document type does not allow element "TABLE" here; missing one of "TH", "TD" start-tag.'.
Also, when trying to explain to clients why their old web site is crap and needs to
Incrementally evolved eh? (Score:2)
HTML is dead, but no one noticed (Score:5, Insightful)
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:
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.
xHTML is dead. (Score:3, Informative)
Boo to depreciation (Score:2)
What? They want to take elements away from us? Who the fuck do they think they are, I'm not going to change all the code on my webpage just because they say, "Oh, using <b> is so 1997, we're all using CSS now."
In short, they can pry my <s> tag out of my cold dead hands.
Another incremental standard the world will ignore (Score:2)
Sure, as a webmaster, I can follow XHTML rules for any new page or script I write - for someone who already writes correct HTML, the nuances are not substantial. Tell a webmaster about the existence of the </p> tag and you're a third of the way there. But do they really expect I'm going to go b
Re: (Score:3, Interesting)
Re: (Score:2, Interesting)
Re: (Score:3, Interesting)
The W3C position is that Google, for example, should not be required to enjoy or research the web. Their view is that the web pages themselves should provide the context and relevency information that Google is doing. They want discrete, well formated information that's reletively unchanging. Another example is Wikipedia. The current version is a data
Re: (Score:2)
The purpose of HTM
that isn't what people really want (Score:3, Insightful)
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.
Comment removed (Score:5, Insightful)
Re: (Score:2)
What does redesigning the whole world over again for 10% of the population sound like ?
It sounds like overdoing it for me.
Re: (Score:2)
Re: (Score:2)
Doing things to "help" 1% of the population, when they don't even use the things we're forced to give them isn't compassion, it's stupidity.
If they USED the wheelchair ramps, I'd be all for them. If the visitors to my web site consisted prim
Re:WHY XHTML are going unnoticed ? (Score:4, Informative)
http://en.wikipedia.org/wiki/Section_508 [wikipedia.org]
Re: (Score:3, Interesting)
Well said.
Re: (Score:3, Interesting)
Maybe HTML doesn't serve your purposes, but it certainly serves my purposes.
Personally, I couldn't care less about fuzzy concepts like the separation of content and style; I just want to be able to write webpages in nano which look decent to most visitors.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
"</>"
Re: (Score:2, Insightful)
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 presentat
Re: (Score:2)
Honestly, I don't see the need for anything beyond HTML 3.2. All this new crap does is get in the way.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
As it is, html serves its purpose
That's a ridiculously short-sighted assertion along the lines of: "The world only needs five computers" and "nobody will ever need more than 640 K of RAM." The Web is the most important application development platform in the history of computing and HTML still lacks some form and navigation widgets that were common on graphical platforms 15 years ago. These limitations mean that sites are full of accessibility and security-destroying Javscript.
Re:WHY XHTML are going unnoticed ? (Score:4, Insightful)
Re: (Score:3, Insightful)
Re: (Score:2)
Yeah, technically the XHTML 1.0 spec allows to send documents with the text/html mime type, but please don't do it! [hixie.ch]
If you care about standards and want something readable by IE (which isn't always necessary), then better HTML 4 Strict than some XHTML Transitional sent as text/html (Gecko uses Standards Mode for the former and Quirks Mode for the latter).
Re: (Score:2)
The W3C page suggests that the xml mimetype is preferred, but that text is acceptible. I'd still argue that writing strict (and good!) xhtml 1.0 for now makes the transition later to 1.1 easier. If you write html 4.01 now, you'll have a slightly longer climb.
Re: (Score:2)
I'm pretty sure that you can't show me a single example of a page that validates as both XHTML and HTML, so you are sending invalid content under at least one of the mime types. And you are discriminating against non-IE users, because all the XML parsers currently used require the full data, while HTML parsers start parsing (and displaying) the page as soon as they can. And don't tell me "no problems reported": web browsers can displa
Re: (Score:2)
Re: (Score:2)
Exactly. It makes life simpler when HTML is actually XHTML as we can use common, standard APIs and parsers and
get predictable, deterministic results. Accepting kludgey, broken, badly formed HTML and trying to parse it
is a much worse proposition than getting well formed XML.
Re: (Score:2)
Re: (Score:2)
actually i am a cautious person, anything that makes some stuff easier may create problems for some other operation. hence, i dont get hasty in rushing in.
Re: (Score:2)
I am curious why there seems to be need to parse web pages. The only thing I can think of is for advertising, or to lift their data to display on another side, or as email bots. Why the huge need to parse other peoples web pages? I am sure their must be some legitimate reason.
Is this the answer? (Score:2)
This is a response to the WHATWG and Hoehrmann (Score:4, Informative)
I believe that this is a response to the actions of the WHATWG (Web Hypertext Application Technology Working Group) [whatwg.org] (X)HTML 5 [whatwg.org] and to Bjoern Hoehrmann leaving the W3C QA [w3.org].
So it's not a new pie-in-the-sky idea like XForms or XHTML2, but something much more likely to be useful to web developers that need to work in a world where IE is (still) the biggest fish.
Re: (Score:2)
XHTML has been an approved, unchaged spec since 2002!!! CSS2 was approved in 1998!! Where the hell is the support for this stuff? IF all their stuff was properly supported, things would be much better, but nobody that makes browsers seems to be much interested in full support, let alone keeping up with the actual new stuff. The maker of the largest browser Microsoft feined their support but left the
Re: (Score:2)
Totally ineffective. The "rest of the industry" is what - maybe
Re:evolution of languages has to be gentle (Score:4, Informative)
This requirement isn't just bureaucratic mumbo jumbo. Ensuring that all (valid) XML documents follow rules like this is what makes them so easy to parse quickly and unambiguously.
There are automated tools (e.g., Tidy) that will do most of the work for static pages. But there really aren't "thousands of pages" to deal with; the HTML to XHTML conversion process is pretty simple [about.com].The real problems with XHTML are:
Re: (Score:2)
XHTML uses forward slashes, not backslashes. By misstating this key point of XML you have proven where the problem is. People don't take the time to understand the new standard. This is not meant to be condescending but to point out the fact that it's easy for confusion to revolve around something new because we innately want to stay with the old stuff we know, and equally it's hard to find the time to pick up something new.
The fact that the W3C is
*rimshot* (Score:2)
Well, it sure as heck wasn't through intelligent design!