W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2008

name as a standard attribute

From: Omar Syed <osyed1@gmail.com>
Date: Sun, 28 Sep 2008 12:24:04 -0500
Message-ID: <41b749ee0809281024m6010f4d8qa0f19eb9634f8e33@mail.gmail.com>
To: www-dom@w3.org
Are there any plans to make 'name' a standard attribute for all tags similar
to 'id'
so that unlike 'id' which needs to be unique within the document the 'name'
to only be locally unique. Thus one can use something like:
  document.names.s1.p to access element id e3 in this document:

    <p id=e1 name=p>
    <span id=e2 name=s1>
      <p id=e3 name=p>


Received on Sunday, 28 September 2008 20:34:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:14 UTC