houweidong

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>button元素</title>
</head>
<body>
<form action="http://localhost">
    <input type="text" name="key" placeholder="安里屯">
    <button type="submit" style="background: #f0f0f0;border-radius: 10px;padding: 10px"><img src="pic/1.png" width="10"  alt="提交图片" >提交</button>
    <button type="reset">重置</button>
</form>
<!-- 表单中最好使用input提交数据
在其他大方使用button提交数据 -->
</body>
</html>

分类:

技术点:

相关文章:

  • 2021-12-14
  • 2022-02-19
  • 2022-01-31
  • 2022-01-27
  • 2021-10-01
  • 2021-11-09
  • 2021-06-14
  • 2021-07-14
猜你喜欢
  • 2021-12-04
  • 2022-01-09
  • 2021-05-15
  • 2021-12-03
  • 2021-05-27
  • 2021-06-06
相关资源
相似解决方案