HTMLIFrameElement: name property - Web APIs | MDN
Value
A string.
Examples
html
<iframe id="el" name="example"></iframe>
js
const el = document.getElementById("el");
console.log(el.name); // Output: "example"
Specifications
| Specification |
|---|
| HTML # dom-iframe-name |