如何才能在 HTML 中新增無框架部分?


使用 <noframes> 標記新增無框架部分。HTML <noframes> 標記用於處理不支援 <frame> 標記的瀏覽器。該標記用於顯示備用文字訊息。

例如

<!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>

更新於: 03-Mar-2020

170 次瀏覽

開啟你的 職業生涯

完成課程並獲得認證

開始
廣告