Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the embed tag in html

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to use embed tags in html. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Detailed explanation of HTML embed tag usage and attributes

1. Basic grammar

The code is as follows:

Embed src=url

Description: embed can be used to insert a variety of multimedia, the format can be Midi, Wav, AIFF, AU, MP3, etc., Netscape and the new version of IE support. Url is an audio or video file and its path, which can be relative or absolute.

Example, the code is as follows

Second, property setting

1. Auto playback:

Syntax: autostart=true, false

Description: this attribute specifies whether audio or video files are automatically played after downloading.

True: music files play automatically after downloading

False: music files do not play automatically after downloading.

Example, the code is as follows

2. Play it in a loop:

Syntax: loop= positive integers, true, false

Description: this attribute specifies whether the audio or video file is looped and the number of cycles.

When the attribute value is a positive integer value, the number of cycles of the audio or video file is the same as the positive integer value

When the property value is true, the audio or video file loops

When the property value is false, the audio or video file does not loop.

Example, the code is as follows

3. The panel shows:

Syntax: hidden=ture, no

Note: this property specifies whether the control panel is displayed, and the default value is no.

Ture: hiding panel

No: display panel.

Example, the code is as follows

Thank you for reading! This is the end of this article on "how to use embed tags in html". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report