Home  >  Article  >  Web Front-end  >  Detailed explanation of the use and definition of html param tags

Detailed explanation of the use and definition of html param tags

黄舟
黄舟Original
2017-07-03 14:04:404808browse

Definition and Usage

The param element allows you to specify run-time settings for the object inserted into the XHTML document, that is, this tag can be the 2cb11774cf1fe227ef14a054de756427 or 082dedeb30a00d0e6e2cdb74a392fac3 tag provides parameters.

Example

Add an object to HTML code:

<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>
<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>

param tag--defines the name and value pair of runtime parameters that provide embedded content for the object tag

The param tag appears alone, 94e34cbf20850ce2140d8ceefc55ad93

The param tag is used to define runtime parameters for embedded content in web pages.

The param tag should be used in the object or applet tag Inner

Attribute

data -- The parameter is a simple string, the default value is

ref - - Parameter is URL

data -- Parameter is another embedded object

id -- Unique identifier

name -- Name, name and value attributes form a pair , see the example below

type -- MIME type of embedded content

value -- Value relative to name

valuetype -- Specify parameter type

Param is the abbreviation of parameter. Parameter

param and name example

<param name="wmode" value="window" />

name is wmode, which is used to set the flash window mode. The value can be window (default value, always located at the top level of html). opaque (allows the upper layer of flash to be blocked by web pages), transparent (the flash background is transparent, which may reduce the performance of flash)

<param name="wmode" value="opaque" />

name is wmode, which is used to set the flash window mode, and the value is opaque (allows the upper layer of flash to Can be blocked by web pages)

<param name="wmode" value="transparent" />

name is wmode, which is used to set the flash window mode, and value is transparent (the flash background is transparent, which may reduce the performance of flash)

<param name="movie" value="dreamdu.swf" />

By name and value Defines the movie whose embedded content is dreamdu.swf.

<param name="quality" value="high" />

defines the embedded content as high (high) display quality (quality) through name and value. The available parameters are low, autolow, autohigh, medium, hight, best, the default is high

<param name="src" value="http://www.dreamdu.com/dreamdu.movie" />

The original (src) of the embedded content is defined by name and value as www.dreamdu.com/dreamdu.movie

<param name="autoplay" value="true" />

The embedded content is defined by name and value Turn on (true) autoplay (autoplay)

<param name="allowFullScreen" value="true" />

Whether to allow full screen, full screen is not allowed by default

<param name="vars" value="xml=dreamdu.xml" />

Pass parameters to flash, multiple parameters can be connected using the & symbol, for example k1=v1&k2= v2&k3=v3; You can also pass xml files, such as xml=dreamd.xml

<param name="bgColor" value="#ff6600" />

Set the background color of flash

<param name="themenu" value="false" />

Set the right-click menu of flash

<param name="scale" value="default" />

Set flash scaling Mode, value value is showall (display all content, maintain proportion, but there may be blank space up and down, or left and right), noborder (zooming can cut the content, maintain proportion, but leave no blank space), exactfit (zoom according to the height and height set by flash) Width, do not maintain proportion), noscale (no scaling, original proportion)

<param name="salign" value="TL" />

Set the reference point of flash scaling, available parameters L (left), R (right), T (upper), B (lower side), TL (upper left), TR (upper right), BL (lower left), BR (lower right), the default is the center as the reference point

<param name="base" value="url" />

To set the flash relative reference path, you can refer to the base tag

The above is the detailed content of Detailed explanation of the use and definition of html param tags. 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