我想创建一个表单,但按钮Submit和Reset不显示为按钮;相反,它们显示为带有字段中的提交和重置字样的字段。我搜索了四周,无法找到答案。我对表单和PHP非常陌生,所以请为初学者说话。表单提交按钮作为字段
此外,如果它是相关的,请知道我设计这个功能从我的桌面(尽管我已经安装了PHP),目标是将表单发布到文件,而不是MySQL数据库。
这里是我的代码:
<form method=”post” action=”">
<table width=”400? border=”0? align=”center” cellpadding=”2? cellspacing=”2?>
<tr>
<td>Username: </td>
<td><input type=”text” name=”username”></td>
</tr>
<tr>
<td>Passwd: </td>
<td><input type=”password” name=”passwd”></td>
</tr>
<tr>
<td> </td>
<td><input type=”submit” value=”Submit”> <input type=”reset” name=”reset” value=”Reset”>
</td>
</tr>
</table>
</form>
这是在行动:http://masterysoftware.net/The%20OPP/index.html
PHP是不相关的这个问题。 PHP是服务器端,页面布局仅依赖于HTML和其他客户端技术。 – Barmar