HTML5

object element

Joost v@n 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>


WebDevelopment and WebDesign 2002-2019 © Joost van Meeteren
Web Developer/Designer/Photographer
Last update Thursday, September 19, 2019 at 09:19

Back

Back to HTML5 insert elements.