<object>
Description:
This element embeds object in the page. It provides an effective way to deal with new media. This element gives you control over the data and code in the created object.
The text between the element's opening and closing tags is displayed in the event that the object cannot be loaded.
Syntax:
<object attributes events> . . . </object>
Example:
<html>
<head>
<title>object element example</title>
</head>
<body>
<object data="http://java2s.com/Book/HTML-CSSImages/star.png" shapes>
<a target="main" shape="rect" coords="0, 0, 100, 50" href="http://www.w3c.com"></a>
<a target="main" shape="rect" coords="100, 0, 200, 50" href="http:// www.microsoft.com"></a>
<a target="main" shape="rect" coords="0, 50, 100, 100" href="http://www.msn.com"></a>
<a target="main" shape="rect" coords="100, 50, 200, 100" href="http://www.yahoo.com"></a>
</object>
<br>
</body>
</html>
Home
HTML CSS Book
HTML reference
HTML CSS Book
HTML reference
Tag:
- <a>
- <acronym>
- <address>
- <area>
- <article>
- <aside> for SideBar
- <audio>
- <b>
- <base>
- <bdi>
- <bdo>
- <blockquote>
- <body>
- <br>
- <button>
- <canvas>
- <caption>
- <cite>
- <code>
- <col>
- <colgroup>
- <dd>
- <del>
- <details> for expandable section
- <dfn>
- <div>
- <dl>
- <!DOCTYPE>
- <dt>
- <em>
- <embed>
- <fieldset>
- <figure> for content with caption
- <footer> for footers
- <form>
- <frame>
- <frameset>
- <head>
- <header> for headers
- <hgroup> for header grouping
- <hN>
- <hr>
- <html>
- <i>
- <iframe>
- <img>
- <input>
- <ins>
- <kbd>
- <keygen>
- <label>
- <legend>
- <li>
- <link>
- <mark> to highlight
- <map>
- <meta>
- <meter>
- <nav> for navigation
- <noscript>
- <object>
- <ol>
- <output>
- <optgroup>
- <option>
- <p>
- <param>
- <pre>
- <progress>
- <q>
- <ruby>, <rt>, and <rp> Elements
- <rt>
- <ruby>
- <samp>
- <script>
- <section> marks sections
- <select>
- <span>
- <strong>
- <style>
- <sub>
- <sup>
- <table>
- <tbody>
- <td>
- <textarea>
- <tfoot>
- <thead>
- <th>
- <time> for date and time
- <title>
- <tr>
- <ul>
- <var>
- <video>
Related: