YouTip LogoYouTip

Dom Obj Map

# HTML DOM Map Object * * * ## Map Object The Map object represents an HTML `` element. ### Accessing the Map Object You can access the `` element using `getElementById()`: ```javascript var x = document.getElementById("myMap"); (#) ### Creating a Map Object You can create a `` element using the `document.createElement()` method: ```javascript var x = document.createElement("MAP"); (#) ## Map Object Collections | Collection | Description | | --- | --- | | (#) | Returns a collection of all `` elements in the image map | | images | Returns a collection of all `` and `` elements associated with the image map | ## Map Object Properties | Property | Description | | --- | --- | | (#) | Sets or returns the value of the name attribute of the image map | ## Standard Properties and Events The Map object also supports standard (#) and (#). * * * ## Related Pages HTML DOM Reference: (#) HTML Reference: [HTML `` Tag](#) HTML Reference: [HTML `` Tag](#)
← Coll Map AreasRuby Exceptions β†’

YouTip © 2024-2026 | Home | Learn Technology, Build Dreams!

All content is for educational and learning purposes only.