Object Tags

Next ❯Frame Tag

It is used to embed or insert like image, audio, video, html page, java applets, pdf, and flash in your html page

  • Tags are: <object>, <param>
Tag:
  • label_outline<object> Tag
    <!DOCTYPE html>
    <html>
    <body>
      <!--Embed html file-->
      <object data="HtmlPage.htm" width="300" height="200"></object>
      <!--Embed image file-->
      <object data="ImageName.png" width="300" height="200"></object>
      <!--Embed audio file-->
      <object data="AudioFile.wav" width="300" height="200"></object>
      <!--Embed Video file-->
      <object data="VideoFile.mp4" width="300" height="200"></object>
      <!--Embed pdf file-->
      <object data="PDFfile.pdf" width="300" height="200"></object>
      <!--Embed Flash file-->
      <object data="FlashFile.swf" width="300" height="200"></object>
    </body>
    </html>

    Only showing Image in <object> Tag below

    • Use this tag to embed like image, audio, video, html page, Java applets, PDF, and Flash in your web pages
    • Just put Your File path in "data" Attribute in above code
    • The Comment inside the above code defines the embedded file type
  • trending_down<param> Tag
    <!DOCTYPE html>
    <html>
    <body>
     <object data="AudioFile.wav"  width="300" height="200">
      <param name="fileType" value="wav">
     </object>
     <object data="VideoFile.mp4"  width="300" height="200">
      <param name="fileType" value="mp4">
     </object>
    </body>
    </html>
    • The page loads, the Audio file play automatically
    • Used to define parameters for <object> embedded file
Browsers Supports
SafariMicrosoft EdgeMozilla FirefoxChromeOpera Mini

Click on the above icon to see the name of the browser !

  • Tips! Always try to use latest version of browser

  • Frame Tag
❮ Prev Image Tags
Next ❯Frame Tag
TryOut Examples"Learn to Explore..!"

TryOut Editor

receipt