📜  HTML noframes标签

📅  最后修改于: 2020-11-04 00:48:55             🧑  作者: Mango

HTML标记(HTML5不支持)</h4> <p>HTML<noframes>标签用于包含替代文本,如果浏览器不支持<frame>内容。它仅在浏览器不支持该框架时才起作用,浏览器将忽略它。</p> <p><noframes>标签应在<frameset>元件。</p> <p><strong>注意:请勿使用<noframes>因为它已被弃用,并且当前不被HTML5支持。</strong></p> <h4>句法</h4> <div class="hcb_wrap"> <pre class="prism line-numbers lang-python" data-lang="Java"><code><span span="" style="font-size: 10pt;"> <noframes>........

以下是有关HTML的一些规范标签</p> <table style="width: 100%; border-collapse: collapse; border-color: #b0b7d6; border-style: dotted; background-color: #f2eded;"> <tbody> <tr> <td><strong>Display</strong></td> <td><strong>Block</strong></td> </tr> <tr> <td><strong>Start tag/End tag</strong></td> <td>Both Start and End tag</td> </tr> <tr> <td><strong>Usage</strong></td> <td>With Frames</td> </tr> </tbody> </table> <h4>例</h4> <div class="hcb_wrap"> <pre class="prism line-numbers lang-python" data-lang="Java"><code><span span="" style="font-size: 10pt;"><!DOCTYPE html> <html> <head> <title>Noframe tag</title> </head> <frameset cols="50%,50%"> <frame src="https://www.javatpoint.com/html-table"> <frame src="https://www.javatpoint.com/css-table"> <noframes>Sorry! Your browser does not support frames.

属性:

特定于标签的属性:

标记在HTML中不包含任何特定属性。</p> <h4>全局属性:</h4> <p><noframes>标签仅支持HTML中的全局属性。</p> <h4>事件属性:</h4> <h4>支持的浏览器</h4> <table style="width: 100%; border-collapse: collapse; border-color: #b0b7d6; border-style: dotted; background-color: #f2eded;"> <tbody> <tr> <td><strong>Element</strong></td> <td><img alt="chrome browser" class="img-fluid" src="https://static.javatpoint.com/htmlpages/images/chrome_browser.png"/> Chrome</td> <td><img alt="ie browser" class="img-fluid" src="https://static.javatpoint.com/htmlpages/images/ie_browser.png"/> IE</td> <td><img alt="firefox browser" class="img-fluid" src="https://static.javatpoint.com/htmlpages/images/firefox_browser.png"/> Firefox</td> <td><img alt="opera browser" class="img-fluid" src="https://static.javatpoint.com/htmlpages/images/opera_browser.png"/> Opera</td> <td><img alt="safari browser" class="img-fluid" src="https://static.javatpoint.com/htmlpages/images/safari_browser.png"/> Safari</td> </tr> <tr> <td><strong><noframes></strong></td> <td>Yes</td> <td>Yes</td> <td>Yes</td> <td>Yes</td> <td>Yes</td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <footer> <div class="bg-white text-center pb-1"> <p class="text-body-tertiary pt-3 lh-lg text-opacity-50" id="footer-text">Copyright &copy; 2020 - 2024 版权所有 <br> <a href="https://beian.miit.gov.cn/" target="_blank" class="text-opacity-50 text-body-tertiary mt-1 mb-1">蜀ICP备20006366号-1</a> <br> Made with ❤️ in Chengdu </p> </div> </footer> <!-- 引入Bootstrap JavaScript库 --> <script src="https://unpkg.com/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script> <!-- 引入Meilisearch搜索相关的JavaScript库 --> <script src="https://cdn.jsdelivr.net/npm/@meilisearch/instant-meilisearch/dist/instant-meilisearch.umd.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/instantsearch.js@4"></script> <script src="https://imangodoc.com/static/javascript/meili_custom.js"></script> <!-- 引入prismjs代码高亮相关的JavaScript库 --> <script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/components/prism-core.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/plugins/toolbar/prism-toolbar.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/plugins/autoloader/prism-autoloader.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/plugins/copy-to-clipboard/prism-copy-to-clipboard.min.js"></script> </body> </html>