Embed tag in HTML
- 24-07-2022
- Trung Minh
- 0 Comments
The embed tag defines a container for an external application or interactive content.
How to use embeb . card
For example , use embeb tag to embed flash files.
<!DOCTYPE html> <html> <head> <title>Học lập trình miễn phí tại web888.vn</title> <meta charset="utf-8"> </head> <body> <h1>Học lập trình miễn phí tại web888.vn</h1> <embed src="http://aloflash.com/File-Flash/dai-bang-01.swf"> </embed> </body> </html>
Attributes of the embeb . tag
- height – defines the height of the embed display area.
- width – defines the length of the embedded content display area.
- type – defines the media type of the embedded content.
- src – path to the file to be embedded.
For example , use the width and height properties to specify the size of the display area.
<!DOCTYPE html> <html> <body> <embed height="300" width="600" src="http://aloflash.com/File-Flash/dai-bang-01.swf"></embed> </body> </html>