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="http://www.w3schools.com/html/pic_mountain.jpg"></object>


<object> example 2 in HTML5:

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


<object> example 3 in HTML5:

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


<object> example 4 in HTML5:

<object height="111" width="151" style="border: 2px solid #000000" data="http://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="http://www.w3schools.com/tags/helloworld.swf"></object>


Joost van Meeteren Websites
2002-2024 © Joost van Meeteren, Bennekom NL
Laatste update website: donderdag 28 maart 2024