日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

html标签object和embed,html标签object和embed的区别

發(fā)布時(shí)間:2023/12/1 编程问答 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 html标签object和embed,html标签object和embed的区别 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
object和embed的區(qū)別

The code in?bold?above is the actual code that you need to place in your page to embed a FusionCharts chart.

In the above code, we've

used and tags to embed the 3D Column Chart (Column3D.swf) within the HTML page.

used &dataUrl=Data.xml under FlashVars parameter to indicate the source of data to chart – Data.xml in this case. This method of indicating data is referred to as dataURL method of providing data.

specified chart width as 900 and chart height as 300.

To display a Flash movie correctly in a browser, HTML page should contain specific tags that specify the Flash movie file to be opened and played. There are two tags which are intended for it: and tags.

These two tags are required to display a Flash movie in different Internet browsers properly. The tag is used by Internet Explorer under Microsoft Windows and the tag is used by Netscape Navigator under Microsoft Windows or Mac OS. Each of these two tags acts in the same way, however using only one tag may cause incompatibility of one of the browsers. To ensure that most browsers will play your Flash movies, you should place the tag nested within the tag as shown in the example. ActiveX-enabled browsers will ignore the tag inside the tag. Netscape and old Microsoft browsers will not recognize the tag and will use only the tag to load the Macromedia Flash Player. ??"

結(jié)論:

標(biāo)簽支持IE,標(biāo)簽支持舊版本的IE和其他的瀏覽器(如FF、chrome等)。所以在寫頁(yè)面的時(shí)候最好是按上面代碼中的方式,將embed的內(nèi)容嵌入到object標(biāo)簽內(nèi),這樣就可以防止有的瀏覽器出現(xiàn)不兼容的情況了。

ps:為方遍測(cè)試,上面代碼中的多媒體文件請(qǐng)自行替換本地文件路徑及文件名。

總結(jié)

以上是生活随笔為你收集整理的html标签object和embed,html标签object和embed的区别的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。