This name is the browsing context of the element.
<object data="/media/sample.pdf" type="application/pdf" style="width:100%;height:500px;" name="sample-pdf"> PDF cannot be displayed. </object>
The name attribute assigns a name to the object element.
The name is the browsing context of the object element. The browsing context can be thought of as a mini-browser inside the browser. It has session history, a Document object, and more -- much like a browser does.
|name||String value. The browsing context of the object.|
Here is when name support started for each browser:
Back to <object>