2013-10-28 4 views
0

프레임 세트를 포함시켜야하는이 연습이 있습니다. 나는이 html을 만들었습니다 :프레임 세트가 표시되지 않습니다.

 <!DOCTYPE html> 
    <html> 
    <head> 
     <title></title> 
    </head> 
    <body> 

    <frameset rows="50%,50%" cols="50%,50%"> 
     <frame src="../../topleft.html" name="topleft"> 
     <frame src="topright.html" name="topright"> 
     <frame src="botleft.html" name="botleft"> 
     <frameset rows="50%,50%"> 
      <frameset cols="50%,50%"> 
       <frame src="brtl.html" name="brtl"> 
       <frame src="brtr.html" name="brtr"> 
      </frameset> 
      <frame src="botrbot.html" name="botrbot"> 
     </frameset> 
    </frameset> 

    </body> 
    </html> 

    <!DOCTYPE html> 
    <html> 
    <head> 
     <title>topleft.html</title> 
    </head> 
    <body> 
    topleft 
    </body> 
    </html> 

다른 모든 html은 topleft.html과 동일하므로 이에 대해서는 포함하지 않았습니다. 내 브라우저에 아무것도 보이지 않습니다. 내가 도대체 ​​뭘 잘못하고있는 겁니까?

+0

어떤 브라우저를 사용하고 있습니까? –

+0

Google 크롬. 코멘트를 유효하게하는 임의의 텍스트. – user1924247

답변

3

frameset을 사용하는 경우 신체를 사용하지 않으므로 <body></body>을 제거하면됩니다. 프레임이 지원되지 않을 때 브라우저에 무언가를 표시하려면 다음을 입력하십시오. link.

관련 문제