Computer >> Computer tutorials >  >> Programming >> HTML

How to include content to be presented by browsers that do not support the <embed> tag in HTML?


The HTML <noembed> tag is used to handle browsers which do not support the <embed> tag. The <noembed> tag makes it easy to supply alternative content that tells users what they are missing.

Example

<!DOCTYPE html>
<html>
   <head>
      <title>HTML noembed Tag</title>
   </head>
   <body>
      <embed src = "/html/yourfile.swf" width = "200" height = "200" >
         <noembed><img src = "yourimage.gif" alt = "Alternative Media" ></noembed>
      </embed>
   </body>
</html>