Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2018年10月.
HTMLInputElement.labels は読み取り専用プロパティで、<input> 要素に関連付けられた <label> 要素を NodeList で返します。この要素が hidden 型であった場合は、このプロパティは null を返します。
NodeList で、その <input> 要素に関連付けられた <label> 要素が入ります。
| HTML # dom-lfe-labels-dev |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2024年10月21日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.