Skip to content
Related Articles

Related Articles

HTML DOM document plugins Property

Improve Article
Save Article
Like Article
  • Last Updated : 07 Jul, 2020

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
  • Internet Explorer
  • Firefox
  • Opera
  • Safari
My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!