如何在 HTML 中新增 noframe 部分?


使用 <noframes> 標籤新增 noframe 部分。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>

更新於: 2020 年 3 月 3 日

170 次瀏覽

助力 職業發展

完成課程認證

開始學習
廣告
© . All rights reserved.