HTML <embed> Tag

HTML <embed> Tag

In this tutorial, we will learn about embed tag in HTML with the help of examples.

<embed> Tag

Embed tag <embed> is used to define a container for external application such as web page, a picture or a media player.


<embed />


<!DOCTYPE html>
    <title>Embed Tag</title>
    <embed src = "./boat.jpg" width = "500px" />


Specific Attribute

Attribute Value Description
height pixels
Specifies the height of the container
src URL Specifies the address of the source file
type MIME_type Specifies the MIME type
width pixels
Specifies the width of the container

Global Attribute

Embed Tag support all the global attributes of HTML.

Event Attribute

Embed Tag support all the event attributes of HTML.

Next Tutorial

We hope that this tutorial helped you develop better understanding of the concept of embed tag in HTML.

Keep Learning : )

In the next tutorial, you'll learn about HTML fieldset Tag.

- Related Topics