HTML - Tags - <embed>

#45 of 147
embed

 <html>
 <body>
     <div>
         <p>Embed PDF</p>
         <embed src="test-embed.pdf?#zoom=100" type="application/pdf" width="100%" />
         <noembed>
             Your browser does not support embedding.
         </noembed>
     </div>
     <div>
         <p>Embed HTML</p>
         <embed src="test-embed.html" width="100%" height="75px">
     </div>
     <div>
         <p>Embed Image</p>
         <embed src="images/waterloo.gif">
     </div>
 </body>
 </html>
 

The embed element is used to include external content that is handled by a browser plugin.

The embed element has been superseded by object

A live example:


Embed PDF

Unable to embed PDF

Embed HTML

Embed Image


N of

Ads by Google


Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath