Page 1 of 1

이 페이지 어디가 잘못된 건가요 ???

Posted: 2006 08 24 19:00 30
by 초보

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" 
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<meta content="text/css" http-equiv="Content-Style-Type" />
<link rel="stylesheet" type="text/css" href="style.css" />
<title>Title</title>
</head>

<frameset cols="20%, 80%">
    <frame src="html_chunk_index.html" >
    </frame>
    <frame src="empty.html" name="contents" >
    </frame>
    <noframe>
    
    </noframe>
</frameset>

</html>
이런 페이지를 만들었는데요, validator.w3.org 로 검사해보면 frame 태그를 닫지 않았다며 에러가 납니다. 뭐가 문제일까요 ???

Posted: 2006 08 24 19:51 42
by hyeonseok

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<meta content="text/css" http-equiv="Content-Style-Type" />
<link rel="stylesheet" type="text/css" href="style.css" />
<title>Title</title>
</head>

<frameset cols="20%, 80%">
    <frame src="html_chunk_index.html" />
    <frame src="empty.html" name="contents" />
    <noframes>
        <body>
            <p>sds</p>
        </body>
    </noframes>
</frameset>
</html>
이렇게 하시면 됩니다.

noframe이 아니라 noframes입니다.

Posted: 2006 08 25 11:01 15
by 초보
감사합니다...