这是规范书上的原话:<BODY>
<P>I just returned from vacation! Here’s a photo of my family at the lake:
<IMG src="http://www.somecompany.com/People/Ian/vacation/family.png"
alt="A photo of my family at the lake.">
</BODY>
This inclusion may also be achieved with the OBJECT element as follows:<BODY>
<P>I just returned from vacation! Here’s a photo of my family at the lake:
<OBJECT data="http://www.somecompany.com/People/Ian/vacation/family.png"
type="image/png">
A photo of my family at the lake.
</OBJECT>
</BODY>

解决方案 »

  1.   

    <OBJECT data="images/logo.gif" type="image/gif" width=300 height=200>
    </OBJECT>
      

  2.   

    谢谢楼上的, 我还想问一下:
    <OBJECT data="kark.gif" type="image/gif" usemap="#map1" width=350 height=420 standby="loading.....">
    </OBJECT><MAP name="map1">
    <P>Navigate the site:
    <A href="http://www.altmusic.org" shape="rect" coords="0,0,118,28">Access Guide</a>
    </MAP>这样做是为什么???
      

  3.   

    <img src="a.gif" usemap="#map1" width=350 height=420><MAP name="map1">
    <Area href="http://www.altmusic.org" shape="rect" title="aaaaaaaaaa" coords="0,0,118,28">Access Guide</area>
    </MAP>
      

  4.   

    楼上的, 我知道这种用法是正确地, 我想问的是为什么换成object就不行????
    这可是html4.01规范书上的内容啊.
      

  5.   

    我日 大炮打蚊子 你把图片大小定一下 object好处是你定义若用户加载动画不成功 就加载图片1,若还不成功,就加载图片2或者加载文字  用map是怕边边难看
      

  6.   

    我是想问下面几个例子的区别:::
    例1
    <img src="kark.gif" usemap="#map1" width=350 height=420>
    <MAP name="map1">
    <P>Navigate the site:
    <a href="http://www.altmusic.org" shape="rect" coords="0,0,118,28">Access Guide</a>
    </MAP>
    例2
    <img src="kark.gif" usemap="#map1" width=350 height=420>
    <MAP name="map1">
    <P>Navigate the site:
    <area href="http://www.altmusic.org" shape="rect" coords="0,0,118,28">Access Guide
    </MAP>
    例3
    <OBJECT data="kark.gif" type="image/gif" usemap="#map1" width=350 height=420 standby="loading.....">
    </OBJECT>
    <MAP name="map1">
    <P>Navigate the site:
    <area href="http://www.altmusic.org" shape="rect" coords="0,0,118,28">Access Guide
    </MAP>
    例4
    <OBJECT data="kark.gif" type="image/gif" usemap="#map1" width=350 height=420 standby="loading.....">
    </OBJECT>
    <MAP name="map1">
    <P>Navigate the site:
    <a href="http://www.altmusic.org" shape="rect" coords="0,0,118,28">Access Guide</a>
    </MAP>