gpt4 book ai didi

html - 按钮图像作为表单输入提交按钮?

转载 作者:技术小花猫 更新时间:2023-10-29 11:33:04 26 4
gpt4 key购买 nike

<form method="post" action="confirm_login_credentials.php">
<table>
<tr>
<td>User ID:</td>
<td><input type="text" id="uid"></td>
</tr>
<tr>
<td>Password:</td>
<td><input type="text" id="pass"></td>
</tr>
<tr>
<td colspan="2" align="right">
<a href="#"><img src="images/login.jpg"></a>
</td>
</tr>
</table>
</form>

我正在使用图像代替提交按钮。当用户像提交按钮一样单击登录图像时,如何提交登录详细信息?

最佳答案

你可以使用 image submit button :

<input type="image" src="images/login.jpg" alt="Submit Form" />

关于html - 按钮图像作为表单输入提交按钮?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3381609/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com