This corresponds to the NAME attribute of the <LAYER> tag.


JavaScript - 1.2
Netscape - 4.0
Property/method value type:String primitive
HTML syntax:<LAYER NAME="aName">
Argument list:aNameA name for the layer object

Objects are identified either by the NAME="..." HTML tag attribute or by the ID="..." HTML tag attribute.

Netscape shows a marginal preference for the name property while MSIE seems slightly better disposed towards the ID property.

W3C comes down fairly and squarely on the ID property as being the favorite.

However in many cases, both browsers support either technique and in some cases will locate items named with either tag as if they existed in a single namespace.


Property attributes: