object Element in HTML5

By | April 5, 2017

Use of object element in html5.
using for embed an element in an html document.this element support in all browsers.we can embed pdf,flash,java applet etc. see the below example


we can change the data=”test.pdf”,data=”pic.jpeg”,data=”hello.html”

Note:element also using for embeding pdf,image,flash etc.
Eg:,only difference is this element does not have closing tags.