I have a page in which I want to include frameset, as well as use other HTML elements (basically some hidden form fields). But where can I place those additional HTML elements in the code ?
<frameset cols="*" rows="40,*">
<frame src="#" />
<frame src="#"/>
<noframes>
<body>
Please enable frames to view.
</body>
</noframes>
</frameset>
Standard web page has following layout:
A frameset document has
headandframesetinstead ofbody.So if you wish to include some html elements you must include it in one of the frames. Or simply add one additional frame that doesn’t take place and incorporate html elements (hidden input fields) there.
On the other side if you wish those html elements in the case that browser doesn’t support frameset or they are disabled, then include them in
<noframes>also.