HTML CSS examples for HTML Tag:object
The data attribute specifies the URL of the resource to be used by the object.
Value | Description |
---|---|
URL | Specifies the URL of the resource to be used by the object. |
The following code shows how to use the <object> element to embed a Flash file:
<!DOCTYPE html> <html> <body> <object width="400" height="400" data="helloworld.swf"> </object><!-- w w w . ja v a2 s.c o m--> </body> </html>