W3C Approves DOM Level 2 29
techsoldaten writes "Web developers rejoice! W3C announced yesterday the DOM Level 2 specification has become a full recommendation. Article about it on Infoworld. The payoff for Web developers, once this recommendation has been incorporated into browsers, is cross-browser DOM scripting should become a thing of the past and XHTML will be available as a means of handling some data-related tasks within a Web page. One hole in the silver lining: the specification is not backwards compatible with DOM Level 1."
Re:Incorporation into Browsers (Score:2, Informative)
that's great (Score:3, Informative)
it's no longer about waiting for everybody to support the standard, now it's about waiting for everybody to drop support for the old standard, which takes much longer
Re:Only standards are HTML 2.0, 3.0 and 3.2 (Score:2, Informative)
Evidently your knwowledge of these things is pretty limited.
A web page in HTML4 and CSS can be much lighter than one coded in HTML 3.2. The reason for that is that using tables and the font tag is *very* verbose. With CSS you can replace several kB's of <font> along all your site with just a:
font-family: sans-serif;
font-size: larger; }
Then every <div class=brochure> would have these styling attributes. Suppose you want to make the heading in a brochure red:
<div class=brochure><h2>Buy this!</h2> ....
You don't even need to modify your HTML! You just add to the CSS (shared by all your site):
color: red;
}
That should be read as "h1 inside .title".
As you see, HTML and CSS makes web pages smaller, and more maintainable.