HTML5

object element

Joost van Meeteren


Links

W3C - HTML <object> Tag.


Examples

<object>

JPG (height="111" width="151")

MP3 (height="30" width="151")

MP4 (height="80" width="151")

PDF (height="111" width="151")

SWF / Flash (height="114" width="154")


Source code

<object>


<object> example 1 in HTML5:

<object height="111" width="151" style="border: 2px solid #000000" data="https://www.w3schools.com/html/pic_mountain.jpg"></object>


<object> example 2 in HTML5:

<object height="30" width="151" style="border: 2px solid #000000" data="https://www.w3schools.com/html/horse.mp3"></object>


<object> example 3 in HTML5:

<object height="80" width="151" style="border: 2px solid #000000" data="https://www.w3schools.com/html/mov_bbb.mp4"></object>


<object> example 4 in HTML5:

<object height="111" width="151" style="border: 2px solid #000000" data="https://www.analysis.im/uploads/seminar/pdf-sample.pdf></object>


<object> example 5 in HTML5:

<object height="114" width="154" style="border: 2px solid #000000" data="https://www.w3schools.com/tags/helloworld.swf"></object>


Joost De WebMaker
2002-2024 © Joost van Meeteren
Laatste update website: vrijdag 6 december 2024