HTML Tags __html

Source: Internet
Author: User

The object label is used to define an embedded object, including images, audio, Java applets, ActiveX, PDF, and Flash. This label allows you to specify the data and parameters for inserting objects in an HTML document, as well as the code that can be used to display and manipulate the data.

Common features:

One, display Picture:
[Color=red]<object height= "100%" width= "100%"
Type= "Image/jpeg" Data= "Audi.jpeg" >
</object>[/color]
<body>
<object height= "100%" width= "100%"
Type= "Image/jpeg" Data= "/i/eg_audi.jpg" >
</object>
</body>
<body>
<object height= "100%" width= "100%"
Type= "Image/jpeg" Data= "http://www.fuguojian.cn/blog2/attachments/month_0812/k2008122805216.jpg" >
</object>
</body>

Second, the display page:
[Color=red]<object type= "text/html" height= "100%" width= "100%"
Data= "http://www.w3school.com.cn" >
</object>[/color]
<body>
<object type= "text/html" height= "100%" width= "100%"
Data= "http://blog.fuguojian.cn" >
</object>
</body>

Third, play audio:
[Color=red]<object
Classid= "Clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" >
<param name= "FileName" value= "Liar.wav"/>
</object>[/color]
<body>
<object
height= "50%"
Width= "50%"
Classid= "Clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" >
<param name= "AutoStart" value= "1"/>
<param name= "FileName" value= "Http://www.fuguojian.cn/music/Big%20Big%20World.mp3"/>
</object>
</body>

Four, display calendar:
[color=red]<object width= "100%" height= "80%"
classid= "clsid : 8e27c92b-1264-101c-8a2f-040224009c02 ""
<param name= "BackColor" value= "14544622"
<param name= " Daylength "value=" 1 "
</object>[/color]
<body>
<object width= "100%" height= "80%"
classid= "CLSID:8E27C92B-1264-101C-8A2F-040224009C02" >
  <param name= "BackColor" value= "14544622"
  <param name= "Daylength" value= "1"
</object>
</body>

Five, display graphics:
[color=red]<object width= "height=" "
classid=" CLSID : 369303c2-d7ac-11d0-89d5-00a0c90833e6 ""
<param name= "Line0001"
value= "Setfillcolor (255, 0, 255)" >
<param name= "Line0002"
value= "Oval ( -100, -50, MB)"
</object>[/color]
<body>
<object width= "height="
classid= " Clsid:369303c2-d7ac-11d0-89d5-00a0c90833e6 ""
<param name= "Line0001"
value= "Setfillcolor (255, 0, 255)"
<param name= "Line0002"
value= "Oval ( -100, -50, MB)"
</object>
</body>< br>

Six, show Flash:
[color=red]<object width= "height=" "
classid=" clsid:d 27cdb6e-ae6d-11cf-96b8-444553540000 "
codebase=" http://download.macromedia.com
/pub/shockwave/cabs/flash/ swflash.cab#4,0,0,0 ""
<param name= "SRC" value= "bookmark.swf"
<embed src= "http:// www.fuguojian.cn/blog2/123/time.swf "width=" height= "></embed>";
</object>[/color]
<body>
<object width= "height=" 40 "
classid=" clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 "
codebase=" http://download.macromedia.com/pub/ shockwave/cabs/flash/swflash.cab#4,0,0,0 ""
<param name= "SRC" value= "bookmark.swf"
<embed src= " http://www.fuguojian.cn/blog2/123/time.swf "width=" height= "></embed>";
</object>
< /body>

Seven, play the video:
[Color=red]<object
Classid= "Clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" >
<param name= "FileName" value= "3d.wmv"/>
</object>[/color]
<body>
<object
Classid= "Clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" >
<param
Name= "FileName"
Value= "Http://www.ananova.com/about/vap_windows_check.wmv"/>
</object>
</body>

<object> elements can play QuickTime movies
With the object element, you can easily add code that plays a QuickTime movie to a Web page. If the QuickTime player is not installed on the user's computer, you can set the object

To install the QuickTime player automatically.

Solution:
These are the codes that play the QuickTime movie:
[Color=red]<object width= "160" height= "144"
Classid= "clsid:02bf25d5-8c17-4b23-bc80-d3488abddc6b"
codebase= "Http://www.apple.com/qtactivex/qtplugin.cab" >
<param name= "src" value= "Sample.mov" >
<param name= "AutoPlay" value= "true" >
<param name= "Controller" value= "false" >
<embed src= "Sample.mov" width= "160" height= "144"
Autoplay= "true" controller= "false"
Pluginspage= "http://fuguojian.cn/blog2/" >
</embed>[/color]</object>
<object> elements

The width and Height properties of the object element should match the size of the movie in pixels.
ClassID uniquely identifies the player software to use. It must be set to "clsid:02bf25d5-8c17-4b23-bc80-d3488abddc6b".

The unique encoding identifies an ActiveX control that must be installed on the user's PC before the movie is played. If the user does not have the ActiveX control installed, the browser will automatically download and install it.

The CodeBase property provides a datum path that resolves the relative URLs specified by the ClassID, data, and archive properties. If not specified, its default value is the base of the current document

A quasi URL. Note: Internet Explorer uses this property to specify the download location for the viewer. This property must be set to "Http://www.apple.com/qtactivex/qtplugin.cab"

。 This location contains the latest version of the QuickTime player.


The SRC parameter points to the movie file.

Set the AutoPlay parameter to TRUE if you want the movie to play automatically.

Set the controller parameter to "false" if you do not want the control button to appear.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.