Forum Moderators: open

Message Too Old, No Replies

frameset location

         

scorpion

10:48 pm on May 1, 2003 (gmt 0)

10+ Year Member



I'm always confused, where in the HTML is the location of the frameset tags? Is it between head and body or within the head tag? Or it doesn't matter?

tedster

4:16 am on May 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A frameset tag is used INSTEAD of a body tag. Having both in one document is actually invalid (unless we're talking about using the body tag within a noframes section)

An HTML 4 document is composed of three parts:
1. a line containing HTML version information,
2. a declarative header section (delimited by the HEAD element),
3. a body, which contains the document's actual content. The body may be implemented by the BODY element or the FRAMESET element.

W3C - Global Structure of an HTML Document [w3.org]

scorpion

4:45 am on May 2, 2003 (gmt 0)

10+ Year Member



no, sorry that's what I mean, I have a head section, and a noframes section (with the body in it)..my question is does the frameset go in the head section or below it?

ShawnR

6:17 am on May 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




<html>
<head>
</head>
<frameset>
<frame>
<frame>
<frame>
<noframes>
<body>
</body>
</noframes>
</frameset
</html>