Home > Web Front-end > HTML Tutorial > How to use object tag

How to use object tag

云罗郡主
Release: 2019-02-15 11:23:32
Original
4293 people have browsed it

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 tag for images, use the 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>
Copy after login


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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template