HTML的<frame>标签

HTML 标签

HTML的<frame>标签

所有浏览器都支持 标签。

定义和用法 ( 推荐学习:html教程 )

标签定义 frameset 中的一个特定的窗口(框架)。

frameset中的每个框架都可以设置不同的属性,比如border、scrolling、noresize等等。

HTML 与 XHTML 之间的差异

HTML 中, 标签没有结束标签。

在 XHTML 中, 标签必须被正确地关闭。

提示:

注:如果您希望验证包含框架的页面,请确保 doctype 被设置为 "Frameset DTD"。阅读更多有关 DOCTYPE 的内容。

重要事项:您不能与 标签一起使用 标签。不过,如果您需要为不支持框架的浏览器添加一个 标签,请务必将此标签放置在 <body></body> 标签中!</p><p><strong>实例</strong></p><p>简单的三框架页面:</p><pre>&lt;<a href="/tag-news-name-html-p-1.html">html</a>&gt; &lt;frameset cols=&quot;25%,50%,25%&quot;&gt; &lt;frame src=&quot;/example/<a href="/tag-news-name-html-p-1.html">html</a>/frame_a.<a href="/tag-news-name-html-p-1.html">html</a>&quot;&gt; &lt;frame src=&quot;/example/<a href="/tag-news-name-html-p-1.html">html</a>/frame_b.<a href="/tag-news-name-html-p-1.html">html</a>&quot;&gt; &lt;frame src=&quot;/example/<a href="/tag-news-name-html-p-1.html">html</a>/frame_c.<a href="/tag-news-name-html-p-1.html">html</a>&quot;&gt; &lt;/frameset&gt; &lt;/<a href="/tag-news-name-html-p-1.html">html</a>&gt;</pre><p>以上就是<a href="/tag-news-name-HTML-p-1.html">HTML</a>的<frame>标签的详细内容,更多请关注https://www.sxiaw.com/其它相关文章!</p></span> </div> </article> <aside class="swnetnews"> <div class="lis"> <span><i>推荐内容</i></span> <ul> <li><a href="/doc/281.html" title="微软电脑管家怎样关掉自动启动?微软电脑管家关掉自动启动的方法" target="_blank">微软电脑管家怎样关掉自动启动?微软电脑管家关掉自动启动的方法</a></li><li><a href="/doc/10478.html" title="使用 Pip 升级 Python 软件包" target="_blank">使用 Pip 升级 Python 软件包</a></li><li><a href="/doc/1918.html" title="实例讲解golang中regex库的使用方法" target="_blank">实例讲解golang中regex库的使用方法</a></li><li><a href="/doc/9131.html" title="聊聊Python的一个内置模块Collections" target="_blank">聊聊Python的一个内置模块Collections</a></li><li><a href="/doc/9157.html" title="2022年你要掌握的十个Python优质库" target="_blank">2022年你要掌握的十个Python优质库</a></li><li><a href="/doc/5756.html" title="解析PHP的可变变量与可变函数" target="_blank">解析PHP的可变变量与可变函数</a></li><li><a href="/doc/4429.html" title="速看!主流PHP框架性能非权威测试" target="_blank">速看!主流PHP框架性能非权威测试</a></li><li><a href="/doc/5103.html" title="python怎么去掉字符串所有空格" target="_blank">python怎么去掉字符串所有空格</a></li><li><a href="/doc/7233.html" title="一起聊聊python文件数据分析治理提取" target="_blank">一起聊聊python文件数据分析治理提取</a></li><li><a href="/doc/3286.html" title="vscode不显示控制台怎么设置" target="_blank">vscode不显示控制台怎么设置</a></li> </ul> </div> </aside> </main> <script> // first, find all the div.code blocks document.querySelectorAll('pre').forEach(el => { // then highlight each hljs.highlightElement(el); hljs.lineNumbersBlock(el); }); </script> <link rel="stylesheet" type="text/css" href="/kan/css/basezb.css"> <script type="text/javascript" src="/kan/js/read.js"></script> <div style="display:none"> <div class="login-box" id="login-dialog"> <div class="login-top"><a rel="nofollow" id="login1" onclick="setTab('login',1,2);" >登录</a></div> <div class="login-form" id="nav-signin"> <!-- <div class="login-ico"><a rel="nofollow" class="qq" id="qqlogin" target="_blank" href="/user-center-qqlogin.html"> QQ </a></div> --> <div class="login-box-form" id="con_login_1"> <form id="loginform" action="/user-center-login.html" method="post" onsubmit="return false;"> <p class="int-text"> <input class="email" id="username" name="username" type="text" value="用户名或Email" onfocus="if(this.value=='用户名或Email'){this.value='';}" onblur="if(this.value==''){this.value='用户名或Email';};" ></p> <p class="int-text"> <input class="password1" type="password" id="password" name="password" value="******" onBlur="if(this.value=='') this.value='******';" onFocus="if(this.value=='******') this.value='';" > </p> <p class="int-info"> <label class="ui-label">&nbsp;</label> <label for="agreement" class="ui-label-checkbox"> <input type="checkbox" value="" name="cookietime" id="cookietime" checked="checked" value="2592000"> <input type="hidden" name="notforward" id="notforward" value="1"> <input type="hidden" name="dosubmit" id="dosubmit" value="1">记住我的登录 </label> <a rel="nofollow" class="aright" href="/user-center-forgetpwd.html" target="_blank"> 忘记密码? </a></p> <p class="int-btn"><a rel="nofollow" id="loginbt" class="loginbtn"><span>登录</span></a></p> </form> </div> </div> </div> </div> </div> <script type="text/javascript" src="/kan/js/foot_js.js"></script> <div id="footer"> <div class="w1200"> <p class="tips_text">本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。</p> <p class="tips_text">Copyright &copy; 2004-2018 https://www.sxiaw.com/. All Rights Reserved.<script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?fa236be8ec7680639fbd4ee307fd0c69"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <a href="http://beian.miit.gov.cn/" target="_blank">津ICP备2023001793号-1</a></p> </div> </div> </body> </html>