Horje

How to add HTML <embed> type Attribute

A picture with a specified media type.

Definition and Usage

The type attribute specifies the Internet media type (formerly known as MIME type) of the embedded content.


Browser Support

Syntax

<embed type="media_type">

Attribute Values

Value Description
media_type The Internet media type of the embedded content.
Look at IANA Media Types for a complete list of standard media types.
index.html
Example: HTML
<embed type="image/jpg" src="https://horje.com/avatar.png">

Output should be:

How to add HTML <embed> type Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin