html에
<html>
<head>
<title>멀티미디어 수행평가</title>
</head>
<frameset cols="30%,70%">
<frame src="1.html">
<frame src="2.html">
</frameset>
</html>
넣어놓고
1. html에
<a href="http://www.daum.net" target="2.html">눌러주세요 </a>
OR _blank
2. html에
아무것도 안쓰고 비워 놓았습니다.
그런데-ㅁ- 2.html 안에 떠야할 daum 창이 새창에 뜨게 되는데
과제는 2html에 뜨게하는것인 안뜨는데요 ㅜㅜ
어떻게 해야하죠 어떤게 틀리거죠?
하지만 2.html을 태그는 인식할 수 없답니다. 2.html파일을 읽는게 아니라 2.html 이란 네임을 생성해 버리죠.
즉 위에 <frame src=2.html> 이 안에 "네임"을 써주는 태그를 써야됩니다.
그리고 "네임"을 타겟에다 적으면 되죠. 네임은 홈페이지 제작자 맘대로 설정가능합니다. ex) 네임태그(비밀)="gg" 하면 그 프레임의 네임은 GG가 되죠. 프레임 링크시 필수 입니다.