HTML - Tags - <noembed>

#91 of 147
noembed

 <html>
 <body>
     <div>
         <p>Embed PDF</p>
         <embed src="test-embed.pdf?#zoom=200" type="application/pdf" width="100%" />
         <noembed>
             <p>
                 Unable to display test-embed.pdf<br />
                 Your browser does not support embedding. <br />
                 <a href="test-embed.pdf">Click to open test-embed.pdf</a>
             </p>
         </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 noembed element provides alternative content to be displayed for browsers that do not support the embed tag, or can't display the embedded content.

Non-standard Obsolete

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