HTML - <noframes> Tag



The HTML <noframes> tag is used to handle the browsers which do not support <frame> tag. This tag is used to display alternate text message.

This tag is no longer recommended as it is deprecated and not supported in the HTML5.

Example

Consider the following example, where we are going to use the <noembed> tag.

<!DOCTYPE html>
<html>
   <head>
      <title>HTML noframes Tag</title>
   </head>
   <frameset cols="200, *">
      <frame src="https://www.tutorialspoint.com/cg/images/logo.png" />
      <frame src="https://www.tutorialspoint.com/static/images/hero.png" n />
      <noframes>
         <body> Your browser does not support frames. </body>
      </noframes>
   </frameset>
</html>

On running the above code, the output window will pop up displaying the image on the webpag. if the browser does not support the frames it will displays the text.

Global Attributes

This tag supports all the global attributes described in − HTML Attribute Reference

Advertisements