Home  >  Article  >  Web Front-end  >  How to use object tag

How to use object tag

云罗郡主
云罗郡主Original
2019-02-15 11:23:324270browse

html object tag Syntax

The Object tag defines an embedded object. Please use this element to add multimedia to your XHTML pages. This element allows you to specify data and parameters for objects inserted into an HTML document, as well as code that can be used to display and manipulate the data.

Role: Used to contain objects such as images, audio, video, Java applets, ActiveX, PDF and Flash.

Description: The original intention of object is to replace img and applet elements. However, this did not happen due to bugs and lack of browser support. The browser's object support depends on the object type. Unfortunately, major browsers all use different code to load the same object types.

Note: Do not use the 273238ce9338fbb04bee6997e5552b95 tag for images, use the a1f02c36ba31691bcfe87b2722de723b tag instead.

html object tag example

<object classid="clsid:F08DF954-8592-11D1-B16A-00C0F0283628" id="Slider1" 
width="100" height="50">
<param name="BorderStyle" value="1" />
<param name="MousePointer" value="0" />
<param name="Enabled" value="1" />
<param name="Min" value="0" />
<param name="Max" value="10" />
</object>


The above is the detailed content of How to use object tag. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn