This article mainly introduces to you the definition and usage of the embed tag in html.
For HTML learners, the use of tags is crucial. So for novices, in addition to the common HTML tags that need to be learned and mastered, there are also some uncommon but important tags that need to be understood and learned.
First of all, everyone needs to briefly understand what embed means?
The new tags in HTML5 can embed any type of document in the page. A program that can correctly display document content must be installed on the user's machine. It is generally used to insert multimedia formats into web pages. rm .mid .wav, etc., are supported by the latest browsers such as IE and Firefox.
Below we will combine simple code examples to introduce to you the definition and specific usage of the embed tag in HTML.
embed codeUsage examples are as follows:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>embed 标签使用示例</title> </head> <body> <embed src="/i/horse.ogg" tppabs="http://www.php.cn/i/horse.ogg"> </body> </html>
Browser access, the running effect is as follows:
# The
The above is the detailed content of What does embed mean in HTML? What are the functions? (with code). For more information, please follow other related articles on the PHP Chinese website!