Home  >  Article  >  Web Front-end  >  How do we add a noframe section to HTML?

How do we add a noframe section to HTML?

王林
王林forward
2023-09-03 16:17:02964browse

How do we add a noframe section to HTML?

Add the noframe part using the tag. The HTML <noframes> tag is used to handle browsers that do not support the <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>

The above is the detailed content of How do we add a noframe section to HTML?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete