How To Use Object And Embedded Elements In HTML
In this article we are going to learn about Embedded elements and Objects.What they are,how they work and their syntax these concepts are explained here.
The <object> Element
Its very easy to embed a flsh file using <object> element.An object tag specifies width,height and data.It
has a simple syntax.Object element always appear inside the <body> element.If any browser doesn't support <object> tag then simply
write an alternate text between these tags.
HTML5 introduce Embed object,it presents an element <embed>.Inorder to access an embed object
we use the getElementById(); method ie,
For creating an object we use the following code.