HTML Dog
Skip to navigation

HTML Tag: embed

Plugin point — where an external, typically non-HTML, application or resource can be embedded in a page.

embed has no content and therefore does not warrant a closing tag.

Optional Attributes

Attribute Description Possible values
src The location of the resource to be embedded. URL.
type The type of the linked resource. MIME type.
width The width of the plug-in in pixels. This can also be done, or overridden, with CSS. Number.
height The height of the plug-in in pixels. This can also be done, or overridden, with CSS. Number.
Custom. Any lowercase attribute name can be used (other than legacy attributes align, name, hspace, and vspace) to pass parameters to the embedded plugin. Custom.
Global attributes

Example


<embed src="oldskool.swf" quality="high">