I got this exercise I have to make involving framesets. I've created this 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>

All the other html's are identical to topleft.html and therefor I've not included them. Nothing is showing in my browser. What am I doing wrong?

有帮助吗?

解决方案

if you are using frameset there is no use of body, so just remove the <body> and </body>. if you want the browser to display something when no frames are supported follow this link.

其他提示

Frameset tag can't use the body, so just remove tag after try comes to output.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top