Is embed a new tag in html5?
Mar 15, 2022 pm 04:26 PMEmbed is a new tag of HTML5. It can define a container for embedding external applications or interactive programs (plug-ins). The syntax "<embed src="...">"; the embed tag must There is the src attribute, which is used to specify the URL of the embedded content.
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
The
Syntax:
<embed src="...">
Embed tag attributes:
Attribute | Value | Description |
---|---|---|
height | pixels | Sets the height of embedded content. |
src | url | The URL of the embedded content. |
type | type | Defines the type of embedded content. |
width | pixels | Set the width of the embedded content. |
Example: embedded flash cartoon
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <embed src="/statics/demosource/helloworld.swf"> </body> </html>
[Related recommendations: html video tutorial、webfrontend】
The above is the detailed content of Is embed a new tag in html5?. For more information, please follow other related articles on the PHP Chinese website!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)
