Object Tags
Next ❯Frame Tag
- 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
Safari | Microsoft Edge | Mozilla Firefox | Chrome | Opera Mini |
Click on the above icon to see the name of the browser !
- Tips! Always try to use latest version of browser
❮ Prev Image Tags
Next ❯Frame Tag