>웹 프론트엔드 >HTML 튜토리얼 >HTML 튜토리얼-프레임워크

HTML 튜토리얼-프레임워크

黄舟
黄舟원래의
2016-12-26 15:26:481057검색

프레임
프레임을 사용하면 동일한 브라우저 창에 두 페이지 이상을 표시할 수 있습니다. 각 HTML 문서를 프레임이라고 하며 각 프레임은 다른 프레임과 독립적입니다.

프레임 사용의 단점:

개발자는 동시에 더 많은 HTML 문서를 추적해야 합니다.
전체 페이지를 인쇄하기 어렵습니다.
프레임 구조 태그()
프레임 구조 태그()는 창을 프레임으로 나누는 방법을 정의합니다.
각 프레임세트는 일련의 행 또는 열을 정의합니다.
행/열 값 각 행이나 열을 지정합니다. 화면에서 열이 차지하는 영역
편집자 주: 일부 기사와 책에서는 프레임셋 태그를 프레임셋으로 번역하기도 합니다.

프레임 태그(Frame)
프레임 태그는 각 프레임에 배치되는 HTML 문서를 정의합니다.

아래 예에서는 2열 프레임셋을 설정했습니다. 첫 번째 열은 브라우저 창의 25%를 차지하도록 설정됩니다. 두 번째 열은 브라우저 창의 75%를 차지하도록 설정되어 있습니다. HTML 문서 "frame_a.htm"은 첫 번째 열에 배치되고 HTML 문서 "frame_b.htm"은 두 번째 열에 배치됩니다.



기본 해야 할 일과 하지 말아야 할 일 - 유용한 팁:
프레임에 테두리가 보이는 경우 사용자는 테두리를 드래그하여 크기를 변경할 수 있습니다. 이러한 일이 발생하지 않도록 하려면 태그에 noresize="noresize"를 추가하세요.

프레임을 지원하지 않는 브라우저에는 태그를 추가하세요. </p> <p> </p> <p>중요 사항: <body></body> 태그와 <frameset></frameset> 태그는 동시에 사용할 수 없습니다. 그러나 텍스트 블록이 포함된 <noframes> 태그를 추가하는 경우 해당 텍스트는 <body></body> 태그 내에 중첩되어야 합니다. (아래 첫 번째 예시에서 어떻게 구현되는지 확인하실 수 있습니다.) </p> <p> 위 내용은 HTML tutorial-framework 내용입니다. 더 많은 관련 내용은 PHP 중국어 홈페이지(www. php.cn) ! <br></p> <p><br></p></div><div class="nphpQianMsg"><div class="clear"></div></div><div class="nphpQianSheng"><span>성명:</span><div>본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.</div></div></div><div class="nphpSytBox"><span>이전 기사:<a class="dBlack" title="HTML 튜토리얼 - 헤더" href="https://m.php.cn/ko/faq/346746.html">HTML 튜토리얼 - 헤더</a></span><span>다음 기사:<a class="dBlack" title="HTML 튜토리얼 - 헤더" href="https://m.php.cn/ko/faq/346749.html">HTML 튜토리얼 - 헤더</a></span></div><div class="nphpSytBox2"><div class="nphpZbktTitle"><h2>관련 기사</h2><em><a href="https://m.php.cn/ko/article.html" class="bBlack"><i>더보기</i><b></b></a></em><div class="clear"></div></div><ins class="adsbygoogle" style="display:block" data-ad-format="fluid" data-ad-layout-key="-6t+ed+2i-1n-4w" data-ad-client="ca-pub-5902227090019525" data-ad-slot="8966999616"></ins><script> (adsbygoogle = window.adsbygoogle || []).push({}); </script><ul class="nphpXgwzList"><li><b></b><a href="https://m.php.cn/ko/faq/348757.html" title="HTML 지식 요약" class="aBlack">HTML 지식 요약</a><div class="clear"></div></li><li><b></b><a href="https://m.php.cn/ko/faq/348804.html" title="HTML을 빨리 배우는 방법" class="aBlack">HTML을 빨리 배우는 방법</a><div class="clear"></div></li><li><b></b><a href="https://m.php.cn/ko/faq/348873.html" title="html xhtml xml의 차이점" class="aBlack">html xhtml xml의 차이점</a><div class="clear"></div></li><li><b></b><a href="https://m.php.cn/ko/faq/348884.html" title="src와 href 속성의 차이점" class="aBlack">src와 href 속성의 차이점</a><div class="clear"></div></li><li><b></b><a href="https://m.php.cn/ko/faq/348902.html" title="HTML5 및 CSS 대체 사용 정보" class="aBlack">HTML5 및 CSS 대체 사용 정보</a><div class="clear"></div></li></ul></div></div><ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-5902227090019525" data-ad-slot="5027754603"></ins><script> (adsbygoogle = window.adsbygoogle || []).push({}); </script><footer><div class="footer"><div class="footertop"><img src="/static/imghwm/logo.png" alt=""><p>공공복지 온라인 PHP 교육,PHP 학습자의 빠른 성장을 도와주세요!</p></div><div class="footermid"><a href="https://m.php.cn/ko/about/us.html">회사 소개</a><a href="https://m.php.cn/ko/about/disclaimer.html">부인 성명</a><a href="https://m.php.cn/ko/update/article_0_1.html">Sitemap</a></div><div class="footerbottom"><p> © php.cn All rights reserved </p></div></div></footer><script>isLogin = 0;</script><script type="text/javascript" src="/static/layui/layui.js"></script><script type="text/javascript" src="/static/js/global.js?4.9.47"></script></div><script src="https://vdse.bdstatic.com//search-video.v1.min.js"></script><link rel='stylesheet' id='_main-css' href='/static/css/viewer.min.css' type='text/css' media='all'/><script type='text/javascript' src='/static/js/viewer.min.js?1'></script><script type='text/javascript' src='/static/js/jquery-viewer.min.js'></script><script>jQuery.fn.wait = function (func, times, interval) { var _times = times || -1, //100次 _interval = interval || 20, //20毫秒每次 _self = this, _selector = this.selector, //选择器 _iIntervalID; //定时器id if( this.length ){ //如果已经获取到了,就直接执行函数 func && func.call(this); } else { _iIntervalID = setInterval(function() { if(!_times) { //是0就退出 clearInterval(_iIntervalID); } _times <= 0 || _times--; //如果是正数就 -- _self = $(_selector); //再次选择 if( _self.length ) { //判断是否取到 func && func.call(_self); clearInterval(_iIntervalID); } }, _interval); } return this; } $("table.syntaxhighlighter").wait(function() { $('table.syntaxhighlighter').append("<p class='cnblogs_code_footer'><span class='cnblogs_code_footer_icon'></span></p>"); }); $(document).on("click", ".cnblogs_code_footer",function(){ $(this).parents('table.syntaxhighlighter').css('display','inline-table');$(this).hide(); }); $('.nphpQianCont').viewer({navbar:true,title:false,toolbar:false,movable:false,viewed:function(){$('img').click(function(){$('.viewer-close').trigger('click');});}}); </script></body><!-- Matomo --><script> var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="https://tongji.php.cn/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '9']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); })(); </script><!-- End Matomo Code --></html>