How do we add a noframe section in HTML?


Use the <noframes> tag to add a noframe section. The HTML <noframes> tag is used to handle the browsers which do not support <frame> tag. This tag is used to display an alternate text message.

Example

<!DOCTYPE html>
<html>
   <head>
      <title>HTML noframes Tag</title>
   </head>
   <frameset cols = "200, *">
      <frame src = "/html/menu.htm" name = "menu_page" />
      <frame src = "/html/main.htm" name = "main_page" />
      <noframes>
         <body>
            Your browser does not support frames.
         </body>
      </noframes>
   </frameset>
</html>

Updated on: 03-Mar-2020

133 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements