重置按钮怎么写( 二 )


3. HTML中的重置按钮怎么样才能用 <BODY>
<FORM action="" method="get">
<TABLE align = "center" border = "1">
<TR align = "center">
<TD colspan = "2"><H2 type = "color: red">;个人所得税计算器</H2></TD>
</TR>
<TR align = "center">
<TD>;请输入你的月收入:</TD>
<TD><INPUT TYPE="text" id="txtOne">;元</TD>
【重置按钮怎么写】</TR>
<TR align = "center">
<TD>;请输入所得税起征额:</TD>
<TD><INPUT TYPE="text" id="txtTwo">;元</TD>
</TR>
<TR align = "center">
<TD>;所得税:</TD>
<TD><INPUT TYPE="text" id="txtShui">;元</TD>
</TR>
<TR align = "center">
<TD colspan ="2"><INPUT TYPE="button" name = "bntAccount" value = "http://www.xuexi88.com/zhishi/计 算" onClick = "Account()"> <INPUT TYPE="reset" name = "reset" value = "http://www.xuexi88.com/zhishi/重 置"></TD>
</TR>
</TABLE>
</FORM>
</BODY>
没有<FORM>;标签
没有form标签,就没有表单,重置就没用
我上面帮你加上FORM标签了

重置按钮怎么写

文章插图