TRENDING TOPICS

×

<embed> tag in HTML5

The <embed> tag used to defines a container for an external application like <audio> or <video> into an HTML document.

Important Description

  • The <embed> tag is new in HTML5.
  • The <embed> tag has not been a part of the HTML 4 specification.
  • It is included in HTML5 as a standard.
  • Open tag required, close tag forbidden.

Syntax Example of <embed> tag

<embed src="Pass_URL" />

Result Look Like

<embed> Tag Browser Support

Element Chrome Edge Firefox Safari Opera
<embed> Yes Yes Yes Yes Yes

Global Attributes

Event Attributes

Attributes

Attribute Value Description
height Pixels Defines the height of the embedded content
src URL Defines the address of the external file to embed
type media_type Defines the media type of the embedded content
width Pixels Defines the width of the embedded content

Advertise With Us

We offer sponsored posts and guest posts with do-follow links, back-links, and other advertising services, To advertise email us at "advertise@gdatamart.com"

© 2021 GDATAMART.COM (All Rights Reserved)