The Object object represents an HTML object element.
The <object> tag is used to include objects such as images, audio, videos, Java applets, ActiveX, PDF, and Flash into a webpage.
Note: The Object object can also use the properties/methods of:
W3C: W3C Standard.
| Property | Description | W3C |
|---|---|---|
| align | Sets or returns the alignment of the object according to the surrounding text | Yes |
| archive | Sets or returns a string that can be used to implement your own archive functionality for the object | Yes |
| border | Sets or returns the border around the object | Yes |
| code | Sets or returns the URL of the file that contains the compiled Java class | Yes |
| codeBase | Sets or returns the URL of the component | Yes |
| codeType | Yes | |
| data | Yes | |
| declare | Yes | |
| form | Returns a reference to the object's parent form | Yes |
| height | Sets or returns the height of the object | Yes |
| hspace | Sets or returns the horizontal margin of the object | Yes |
| name | Sets or returns the name of the object | Yes |
| standby | Sets or returns a message when loading the object | Yes |
| type | Sets or returns the content type for data downloaded via the data attribute | Yes |
| useMap | Yes | |
| vspace | Sets or returns the vertical margin of the object | Yes |
| width | Sets or returns the width of the object | Yes |
The Object object also supports the standard properties and events.
| WEB HOSTING |
|---|
| Best Web Hosting |
| PHP MySQL Hosting |
| Best Hosting Coupons |
| UK Reseller Hosting |
| Cloud Hosting |
| Top Web Hosting |
| $7.95/mo SEO Hosting |
| Premium Website Design |
| WEB BUILDING |
|---|
| Download XML Editor |
| FREE Website BUILDER |
| Free Website Templates Free CSS Templates |
| Make Your Own Website |
| W3SCHOOLS EXAMS |
|---|
|
Get Certified in: HTML, CSS, JavaScript, XML, PHP, and ASP |
| W3SCHOOLS BOOKS |
|---|
|
New Books: HTML, CSS JavaScript, and Ajax |
| STATISTICS |
|---|
|
Browser Statistics Browser OS Browser Display |
| SHARE THIS PAGE |
|---|