On 9/5/07, Pops <[EMAIL PROTECTED]> wrote: > > In practice, element ids are meant to be unique for practical > purposes but there is no standard restriction that it there SHOULD NOT > be more than one defined.
Actually, but HTML 4.01[1] and XML 1.0[2] specify that IDs must be unique. >From the HTML 4.01 Spec: id = name [CS] (CS means "case sensitive" --Aaron) > This attribute assigns a name to an element. This name must be unique in > a document. >From the XML 1.0 Spec Validity constraint: ID > > Values of type ID MUST match the Name production. A name MUST NOT appear > more than once in an XML document as a value of this type; i.e., ID values > MUST uniquely identify the elements which bear them. > > [1] http://www.w3.org/TR/html401/struct/global.html#h-7.5.2 [2] http://www.w3.org/TR/REC-xml/#id -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com