Html 如何从框架集框架内更改浏览器窗口的URL?

Html 如何从框架集框架内更改浏览器窗口的URL?,html,frames,frameset,html-frames,Html,Frames,Frameset,Html Frames,我有一个使用框架的html文档。代码如下: <frameset cols="10%,*" border="0"> <frame src="left_page.html"> <frameset rows="50%,50%" border="0"> </frameset> </frameset> 然后在left_page.html中,这是我的代码: <form action="http:www.google.com"> &

我有一个使用框架的html文档。代码如下:

<frameset cols="10%,*" border="0">
<frame src="left_page.html">
<frameset rows="50%,50%" border="0">
</frameset>
</frameset>

然后在left_page.html中,这是我的代码:

<form action="http:www.google.com">
<input type="submit" value="GotoGoogle" />
</form>


问题是,当我点击按钮时,它会在左框中加载google.com,而不是整个屏幕。如何使网页显示在整个屏幕上而不仅仅是左侧框架上?

您需要指定目标框架(\u top是整个页面)


code-only答案不是IMO的答案-充实并解释,以便OP了解问题/解决方案
<form action="http:www.google.com" target="_top">
<input type="submit" value="GotoGoogle" />
</form>