{"json_modified": "2016-09-29T05:38:56.303260", "uuid": "74188ede-0a4c-4f36-9148-b87d358695b4", "title": "Element.attributes", "url": "/en-US/docs/Web/API/Element/attributes", "tags": ["API", "\u00c9l\u00e9ment", "Element", "Reference", "Property", "R\u00e9f\u00e9rence", "DOM"], "translations": [{"uuid": "d0393b29-0926-4fe8-bbbf-965bac5e1049", "title": "Element.attributes", "url": "/es/docs/Web/API/Element/attributes", "tags": [], "summary": "La propiedad Element.attributes
retorna una colecci\u00f3n \"viva\" cuyos nodos son todos los atributos registrados en el nodo especificado. Es un NamedNodeMap
, no un Array
, as\u00ed que no tiene los m\u00e9todos de Array
y los \u00edndices de nodo Attr
pueden diferir en cada navegador. M\u00e1s concretamente attributes
es un conjunto de pares de cadenas nombre/valor que representan la informaci\u00f3n relativa a cada atributo.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2016-05-28T15:42:00", "review_tags": []}, {"uuid": "6e8b551b-7af2-4425-9889-bf51efda79fb", "title": "element.attributes", "url": "/fr/docs/Web/API/Element/attributes", "tags": [], "summary": "attributes renvoie une collection des attributs sp\u00e9cifi\u00e9s sur l'\u00e9l\u00e9ment donn\u00e9.", "localization_tags": [], "locale": "fr", "last_edit": "2014-10-23T12:12:56", "review_tags": []}, {"uuid": "5baa6827-6f52-4736-af96-9f1512b0a66f", "title": "element.attributes", "url": "/it/docs/Web/API/Element/attributes", "tags": [], "summary": "attributes restituisce una collezione degli attributi presenti nell'elemento dato.", "localization_tags": [], "locale": "it", "last_edit": "2014-10-23T12:13:16", "review_tags": []}, {"uuid": "5eef5c7f-1655-49ae-96be-c7c345ad539a", "title": "Node.attributes", "url": "/ja/docs/Web/API/Element/attributes", "tags": ["DOM", "Gecko", "\u8981\u66f4\u65b0"], "summary": "\u6982\u8981", "localization_tags": [], "locale": "ja", "last_edit": "2016-08-11T22:06:29", "review_tags": []}, {"uuid": "372a0954-f551-494a-aa0d-69cdfdae8e9d", "title": "element.attributes", "url": "/ko/docs/Web/API/Element/attributes", "tags": ["DOM", "Gecko"], "summary": "\uc8fc\uc5b4\uc9c4 \uc694\uc18c\uc758 \uc18d\uc131 \ubaa8\uc74c(collection)\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2014-10-23T11:25:01", "review_tags": []}, {"uuid": "0f4573cf-8abb-4009-96a0-9f008a30d417", "title": "element.attributes", "url": "/pl/docs/Web/API/Element/attributes", "tags": ["Dokumentacja_Gecko_DOM", "DOM", "Gecko", "Wszystkie_kategorie"], "summary": "attributes zwraca kolekcj\u0119 atrybut\u00f3w okre\u015blonych dla danego elementu.", "localization_tags": [], "locale": "pl", "last_edit": "2014-10-23T11:12:03", "review_tags": []}, {"uuid": "cdeeed1f-9f56-4de1-80bd-cc552bd3fc3b", "title": "Element.attributes", "url": "/pt-BR/docs/Web/API/Element/attributes", "tags": ["API", "Element", "Reference", "Propriedade", "Property", "Referencia", "DOM", "Elemento"], "summary": "A propriedade\u00a0Element.attributes
\u00a0retorna uma cole\u00e7\u00e3o\u00a0de todos os atributos registrados para um\u00a0n\u00f3 especificado. \u00c9 um NamedNodeMap
, e n\u00e3o um\u00a0Array
, ent\u00e3o n\u00e3o h\u00e1 os m\u00e9todos de um Array
e os n\u00f3s indexados Attr
podem ser diferentes entre os navegadores. Para ser mais espec\u00edfico,\u00a0attributes
\u00e9 um par de chave/valor de\u00a0strings que representa\u00a0qualquer informa\u00e7\u00e3o relacionada ao atributo.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2016-09-03T20:04:48", "review_tags": []}, {"uuid": "f1135e0b-be03-4f16-8e64-8217d5ede100", "title": "Element.attributes", "url": "/ru/docs/Web/API/Element/attributes", "tags": [], "summary": "\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e Element.attributes
\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0433\u0440\u0443\u043f\u043f\u0443 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0432\u0441\u0435\u0445 \u0443\u0437\u043b\u043e\u0432, \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c \u0443\u0437\u043b\u0435. \u042d\u0442\u043e NamedNodeMap
, \u0442\u043e\u0435\u0441\u0442\u044c\u00a0\u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043c Array
, \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 Array
\u043c\u0435\u0442\u043e\u0434\u044b \u0438 Attr
\u0438\u043d\u0434\u0435\u043a\u0441 \u0443\u0437\u043b\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445. \u0415\u0441\u043b\u0438 \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0447\u043d\u043e, \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b (attributes)\u00a0\u044d\u0442\u043e \u0441\u0442\u0440\u043e\u043a\u0430,\u00a0\u043f\u0430\u0440\u0430 \u043a\u043b\u044e\u0447/\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u00a0\u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u044d\u0442\u043e\u0433\u043e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2015-06-12T14:43:30", "review_tags": []}, {"uuid": "cee71dda-74e8-416c-8c20-feff44055e4b", "title": "Element.attributes", "url": "/zh-CN/docs/Web/API/Element/attributes", "tags": [], "summary": "Element.attributes
\u00a0\u5c5e\u6027\u8fd4\u56de\u8be5\u5143\u7d20\u6240\u6709\u5c5e\u6027\u8282\u70b9\u7684\u4e00\u4e2a\u5373\u65f6\u66f4\u65b0(live)\u7684\u96c6\u5408\u3002\u8be5\u96c6\u5408\u662f\u4e00\u4e2a NamedNodeMap
\u5bf9\u8c61\uff0c\u4e0d\u662f\u4e00\u4e2a\u6570\u7ec4\uff0c\u6240\u4ee5\u5b83\u6ca1\u6709\u00a0\u6570\u7ec4
\u7684\u65b9\u6cd5\uff0c\u5176\u5305\u542b\u7684\u00a0\u5c5e\u6027
\u8282\u70b9\u7684\u7d22\u5f15\u987a\u5e8f\u968f\u6d4f\u89c8\u5668\u4e0d\u540c\u800c\u4e0d\u540c\u3002\u66f4\u786e\u5207\u5730\u8bf4\uff0cattributes
\u00a0\u662f\u5b57\u7b26\u4e32\u5f62\u5f0f\u7684\u540d/\u503c\u5bf9\uff0c\u6bcf\u4e00\u5bf9\u540d/\u503c\u5bf9\u5bf9\u5e94\u4e00\u4e2a\u5c5e\u6027\u8282\u70b9\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-09-30T18:20:29", "review_tags": ["editorial"]}], "modified": "2016-09-29T05:38:55", "label": "Element.attributes", "localization_tags": [], "locale": "en-US", "id": 10494, "last_edit": "2016-09-29T05:38:46", "summary": "The Element.attributes
property returns a live collection of all attribute nodes registered to the specified node. It is a NamedNodeMap
, not an Array
, so it has no Array
methods and the Attr
nodes' indexes may differ among browsers. To be more specific, attributes
is a key/value pair of strings that represents any information regarding that attribute.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Example", "title": "Example"}, {"id": "Basic_examples", "title": "Basic examples"}, {"id": "Notes", "title": "Enumerating elements attributes"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/Element/attributes", "review_tags": []}