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

How to use html object tag

藏色散人
藏色散人Original
2019-05-27 11:20:213057browse

html object tag is used to contain objects, such as images, audio, video, Java applets, ActiveX, PDF and Flash. The original intention of object was to replace the img and applet elements. However, this did not happen due to bugs and lack of browser support.

How to use html object tag

#html How to use the object tag?

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 usage 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 html 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
Previous article:How to use html form tagNext article:How to use html form tag