W3C home > Mailing lists > Public > www-html-editor@w3.org > October to December 2000

The 'id' and 'class' attributes to the root element

From: tapio1 <tapio1@nic.fi>
Date: Sat, 2 Dec 2000 19:28:27 +0200
Message-ID: <000701c05c85$51cd7900$98e126d4@f7n4x6>
To: <www-html-editor@w3.org>, <sean@waptechinfo.com>
In order to get proper transformations, the 'class. attribute is needed. It could be good,
if 'html' could have the id attributes as fragment identifier. WML etc. have 'id'  to the root element.

Target could work in principle so, that if the document, which have launched a new window, have the 'id' attribute, it could work like the fragment identifier in <frameset id="FragmentIdentifier">

The new window could understand <htm id="FragmentIdentifier"... > so, that if the new window has a link like  <a target="FragmentIdentifier! href="link.hmt"> if change the content of the first window.  A pop-up window could work like a frame without the need to use framesets.

I just can't understand, why XHTML 1.0 and the working draft to XHTML 1.1 doesn't have added at least 'id' to the root element. 

'id' as unique identifier to CSS is also useful, but it might be better just as a fragment identifier - or is the intentions of W3C to encourage to use framsets? The best way to replace framesets is a pop-up or ordinary window with 'id' attributes as bilateral fragment identifier!

With the 'id' attribute documents could "discuss" with each others! Do somebody disagree with me?
Should Microsof allow this. IF this could work in future MS browsers, at this time MS has done right not to listen W3C! W3C doesn't seem to take care of practical points of views?
I hope, that Netscape and Opera Software could be more reasonable and allow 'id' and 'class' to use with the root element. I don't see any logic in the decision of W3C!

In fact the CSS1 gives examples, where core attributes are used to the HTML element.

------------------------------------------------------
Tapio Markula
I like
 __
____ Cascading 
______ Style
______   Sheets

I have made something also with XML and XSL
------------------------------------------------------
E:mail: tapio.markula@nic.fi
http://www.nic.fi/~tapio1/index.html (Finnish)
http://www.nic.fi/~tapio1/index_e.html (English)
http://www.nic.fi/~tapio1/Opetus/ (CSS2)
http://www.nic.fi/~tapio1/Teaching/ (CSS2)
http://www.nic.fi/~tapio1/Opetus/XSL-new.html (XML)
http://www.nic.fi/~tapio1/Teahing/XSL-new.html (XML)
------------------------------------------------------
Received on Saturday, 2 December 2000 12:25:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:50 GMT