使用按钮链接到另一个页面 [英] link to another page with button
问题描述
我可以使用< input type = button>链接到其他页面吗?没有javascript ???
谢谢
"写道:
我可以使用< input type = button>链接到另一个页面吗?没有
javascript ???
你真正想要实现的目标是什么?
表格按钮用于提交表格。如果您想链接到另一个
网站,请使用< a ...>< / a>。您可以将链接设置为看起来像
按钮。
-
Google Blogoscoped
< a rel =nofollowhref =http://blog.outer-court.comtarget =_ blank> http://blog.outer-court.com
>我可以使用< input type = button>链接到其他页面吗?没有
javascript ???
是的,你可以;
< FORM action =" page .htm">< INPUT type = submit value =" whateverbuttontext">< a
href =" page.htm" >< / a>< / FORM>
-------
MH
" MH" <无**** @ nowhere.no> schrieb im Newsbeitrag
news:bs ********** @ news1.tilbu1.nb.home.nl ...我可以使用< input type = button>链接到另一个页面吗?没有
javascript ???
是的,你可以;
< FORM action =" page.htm">< INPUT type = submit value =" whateverbuttontext">< a
href =" page.htm" >< / a>< / FORM>
-------
MH
空链接的原因是什么?
< FORM action =" page.htm">
< INPUT type = submit value =" whateverbuttontext">
< / FORM>
无论如何应该这样做?
-
Markus
Can I link to another page with a <input type=button> without javascript???
Thanks
" wrote:
Can I link to another page with a <input type=button> without
javascript???
What do you actually want to achieve?
Form buttons are there to submit forms. If you want to link to another
site, you use <a ...></a>. You can style the link to look like a
button, though.
--
Google Blogoscoped
http://blog.outer-court.com
> Can I link to another page with a <input type=button> without
javascript???
Yes, you can;
<FORM action="page.htm"><INPUT type=submit value="whateverbuttontext"><a
href="page.htm" ></a></FORM>
-------
MH
"MH" <no****@nowhere.no> schrieb im Newsbeitrag
news:bs**********@news1.tilbu1.nb.home.nl...Can I link to another page with a <input type=button> without
javascript???
Yes, you can;
<FORM action="page.htm"><INPUT type=submit value="whateverbuttontext"><a
href="page.htm" ></a></FORM>
-------
MH
What is the reason for the empty link?
<FORM action="page.htm">
<INPUT type=submit value="whateverbuttontext">
</FORM>
should do it anyway?
--
Markus
这篇关于使用按钮链接到另一个页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!