HTML - <noembed> Tag



Description

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>

The message inside <noembed> tag will appear only when your browser does not support <embed> tag. So based on your browser it will display following result −

Browser Support

Chrome Firefox IE Opera Safari Android
Yes Yes Yes Yes Yes Yes
html_tags_reference.htm
Advertisements