Skip to content
Related Articles

Related Articles

HTML DOM document plugins Property

View Discussion
Improve Article
Save Article
  • Last Updated : 08 Jul, 2022

The HTML DOM plugins property returns an HTMLCollectionobject containing one or more embed elements or plugins of the current document. This is a read-only property.


objects = document.plugins

Return value:

An HTMLCollection object, or “null” object,if there are no embedded elements or plugins in the document.

Example: This example shows how to get plugins of the document.


<!DOCTYPE html>
        HTML DOM document
        plugins property
    <embed src="hello.PNG">
    <embed src="hello.PNG">
    <button onclick="get()">
        CLICK HERE
    <script type="text/javascript">
        function get() {


Before Click the Button:

After Click the Button:

Supported browsers:

  • Google Chrome 64
  • Edge 12
  • Internet Explorer 4
  • Firefox 1
  • Opera 51
  • Safari 10.1
My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!