TOP CATEGORIES

×

What is embed tag in HTML?

V

Vivek Madhur

HTML Tag <embed> 

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

Important Points of <embed> Tag

  • The <embed> tag is new in HTML5 as a standard.
  • The <embed> tag has not been a part of the HTML 4 specification.
  • <embed> has started open tag, end with the tag of forbidden

Syntax Example of <embed>

" <embed src="URL" /> "

Browser Support <embed> Tag

  1. Chrome: Yes
  2. Edge: Yes
  3. Firefox: Yes
  4. Safari: Yes
  5. Opera: Yes

Tag-Specific Attributes

  • src (URL) - Specifies the address of the external file to embed
  • type(media_type) - Specifies the media type of the embedded content
  • width & height (pixels) - Give the width & height of the embedded content

0 votes

Your Answer

Email: advertise@gdatamart.com

Donate: To Support US

© 2024 GDATAMART.COM (All Rights Reserved)