问题描述
你好.我已经编写了这个小的HTML代码,以使按钮一个接一个地出现.我将这些链接到网站,因此当有人访问网站时,他可以使用按钮查看下一个网站.我目前有4个进入网页的按钮.我发现我的代码会将奇怪的东西添加到URL的末尾,并阻止其工作.这是一个示例:
Hello. I have written this small HTML code to make buttons appear one after the other. I link these to websites and so when someone visits a website he can then view the next one using the buttons. I currently have 4 buttons that go to web pages. I am finding that my code will add weird things onto the end of my url and prevent it from working. Here is an example:
<div><form method="GET" action="http://tinyurl.com/xtremetop100kingkraftvote" target="_blank" style="text-align: center;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><input id="vote2" disabled="" name="vote3" value=" XtremeTop100 " type="submit" onclick="document.getElementById('vote3').disabled=false">
</form></div>
由于某些原因,当我在网站上按下此按钮时,它会显示以下网址:
http://tinyurl.com/xtremetop100?vote3= ++++ XtremeTop100 +++
这发生在我的多个按钮上.有人知道为什么吗?
For some reason when I hit this button on my website it comes up with this url:
http://tinyurl.com/xtremetop100?vote3= ++++XtremeTop100+++
This happens to more than one of my buttons. Anyone know why?
推荐答案
这篇关于网站的HTML按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!