Details about HTML-embed labels and html-embed labels

Source: Internet
Author: User

Details about HTML-embed labels and html-embed labels

Details about HTML-embed labels
(1) Basic Syntax:
Embed src = url
Note: embed can be used to insert various multimedia files in the format of Midi, Wav, AIFF, AU, MP3, etc,
Netscape and the new version of IE support. The url is an audio or video file and its path, which can be a relative or absolute path.
Example: <embed src = "your. mid">

(2) attribute settings:
1. automatic playback:
Syntax: autostart = true and false
Note: This attribute specifies whether audio or video files are automatically played after being downloaded.
True: music files are automatically played after being downloaded;
False: The music file is not automatically played after it is downloaded.
Example: <embed src = "your. mid" autostart = true>
<Embed src = "your. mid" autostart = false>

2. Loop playback:
Syntax: loop = positive integer, true, false
Note: This attribute specifies whether audio or video files are cyclically or cyclically stored.
When the property value is a positive integer, the number of cycles of the audio or video file is the same as that of the positive integer;
When the attribute value is true, audio or video file loops;
When the attribute value is false, audio or video files do not circulate.
Example: <embed src = "your. mid" autostart = true loop = 2>
<Embed src = "your. mid" autostart = true loop = true>
<Embed src = "your. mid" autostart = true loop = false>

3. panel display:
Syntax: hidden = ture, no
Note: This attribute specifies whether the control panel is displayed. The default value is no.
Ture: Hide the panel;
No: Display Panel.
Example: <embed src = "your. mid" hidden = ture>
<Embed src = "your. mid" hidden = no>

4. Start Time:
Syntax: starttime = mm: ss (minute: second)
Note: This attribute specifies the time when the audio or video file starts to play. If it is not defined, it is played from the beginning of the file.
Example: <embed src = "your. mid" starttime = "00:10">

5. volume size:
Syntax: an integer between volume = 0 and
Note: This attribute specifies the volume of audio or video files. If not defined, the system settings are used.
Example: <embed src = "your. mid" volume = "10">

6. Container properties:
Syntax: height = # width = #
Description: The value is a positive integer or percentage, in pixels. This attribute specifies the height and width of the control panel.
Height: the height of the control panel;
Width: the width of the control panel.
Example: <embed src = "your. mid" height = 200 width = 200>

7. container unit:
Syntax: units = pixels, en
Description: This attribute specifies the unit of height and width as pixels or en.
Example: <embed src = "your. mid" units = "pixels" height = 200 width = 200>
<Embed src = "your. mid" units = "en" height = 200 width = 200>

8. Appearance settings:
Syntax: controls = console, smallconsole, playbutton, pausebutton, stopbutton,
Volumelever Description: This Property specifies the appearance of the control panel. The default value is console.
Console: normal panel;
Smallconsole: small panel;
Playbutton: only the playback button is displayed;
Pausebutton: only the pause button is displayed;
Stopbutton: only the stop button is displayed;
Volumelever: only the volume adjustment button is displayed.
Example: <embed src = "your. mid" controls = smallconsole>
<Embed src = "your. mid" controls = volumelever>

9. Object Name:
Syntax: name = #
Note: # Is the object name. This attribute is used to name an object so that other objects can use it.
Example: <embed src = "your. mid">

10. Description:
Syntax: title = #
Note: # indicates the description. This attribute specifies the description of an audio or video file.
Example: <embed src = "your. mid" title = "First Song">

11. foreground and background colors:
Syntax: palette = color | color
Description: This attribute indicates the foreground and background color of the embedded audio or video file. The first value is the foreground color and the second value is the background color.
Color, separated by | in the middle. Color can be an RGB color (RRGGBB), a color name, or a transparent
(Transparent ). Example: <embed src = "your. mid" palette = "red | black">

12. Alignment:
Syntax: align = top, bottom, center, baseline, left, right, texttop, middle,
Absmiddle, absbottom
Note: This attribute specifies the alignment of the control panel and objects in the current row.
Center: center the control panel;
Left: the control panel is left;
Right: right of the control panel;
Top: Align the top of the control panel with the top of the highest object in the current row;
Bottom: the bottom of the control panel is aligned with the baseline of the object in the current row;
Baseline: Align the bottom of the control panel with the baseline of the text;
Texttop: Align the top of the control panel with the top of the highest text in the current row;
Middle: The middle Of The control panel is aligned with the baseline of the current row;
Absmiddle: the center of the control panel is aligned with the center of the current text or object;
Absbottom: the bottom of the control panel is aligned with the bottom of the text.
Example: <embed src = "your. mid" align = top>
<Embed src = "your. mid" align = center>

Related Article

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.