HTML CSS Bootstrap Javascript Icons Python
HTML References
HTML - Tag Reference HTML - Tag by Category HTML - Attributes HTML - Global Attributes HTML - Events HTML - Language Codes HTML - Country Codes HTML - URL Encoding HTTP Methods HTTP Status Codes <input> types
All HTML Tags
<!-- --> <!DOCTYPE> <a> <abbr> <acronym> <address> <applet> <area> <article> <aside> <audio> <b> <base> <basefont> <bdi> <bdo> <big> <blockquote> <body> <br> <button> <canvas> <caption> <center> <cite> <code> <col> <colgroup> <data> <datalist> <dd> <del> <details> <dfn> <dialog> <dir> <div> <dl> <dt> <em> <embed> <fieldset> <figcaption> <figure> <font> <footer> <form> <frame> <frameset> <h1> - <h6> <head> <header> <hr> <html> <i> <iframe> <img> <input> <ins> <kbd> <label> <legend> <li> <link> <main> <map> <mark> <meta> <meter> <nav> <noframes> <noscript> <object> <ol> <optgroup> <option> <output> <p> <param> <picture> <pre> <progress> <q> <rp> <rt> <ruby> <s> <samp> <script> <section> <select> <small> <source> <span> <strike> <strong> <style> <sub> <summary> <sup> <svg> <table> <tbody> <td> <template> <textarea> <tfoot> <th> <thead> <time> <title> <tr> <track> <tt> <u> <ul> <var> <video> <wbr>

HTML <embed> tag

The HTML <embed> tag represents a container for external application or interactive content.

The <embed> tag is an empty tag which means that it has no end tag.

Run code

Browser compatibility

The <embed> element is fully supported by all browsers:

Element
<embed> yes yes yes yes yes



Attributes

The following table shows the attributes that are specific to the <embed> tag:

Attribute Value Description
height pixels Specifies the height of the embedded content
src URL Specifies the location of the external file to embed
type MIME-type Specifies the media type of the embedded content
width pixels Specifies the width of the embedded content

Global Attributes

The <embed> tag supports the global attributes described in HTML Global Attributes Reference

Event Attributes

The <embed> tag supports the event attributes described in HTML Events Reference


More Examples

You can also use <embed> element to embed another webpage into your HTML document:

Run code

You can also use <embed> element to embed an image into your HTML document:

Run code

Last updated: Sunday 23 Sep, 2018