HTML Object Tag


HTML Tag

The HTML Tag is used to embed multimedia files on a webpage. In which the Tag can include multimedia files such as videos, audios, images, PDFs, Java applets, or any other page of your page.

Note:- If you put text between the and Tags, it will be displayed only if the browser does not support the Tag.

How to Embed Video in HTML Object Tag

To embed video in object tag you need data=” “. to put the URL of the video inside if youtube video to enter the embed code

Example:-




    
    
        HTML object Tag
    



This is HTML object tag Example

Output:-

How to embed image in the HTML object tag

Example:-




    
    
        HTML object Tag
    



This is HTML object tag Example

Output:-

Attribute:-

  • data
  • form
  • height
  • name
  • type
  • width
  • usemap
  • typemustmatch
  • codebase
  • classid
  • border
  • archive

HTML Param Tag

HTML Tag

The HTML Tag is used to passing parameters to an object that is embedded using the Tag. We can use more than one Tag within a Tag in any order, but each tag must have a name and value attribute and must be placed at the beginning of the content.

The Tag controls the behavior of the Tag by using a separate pair of named value attributes, such as autoplay, controller, etc.

Example:-




    
    
        HTML param Tag
    



This is HTML param tag Example

Output:-

Attribute:-

  • Name
  • Value
  • type
  • valuetype

Leave a Comment