XMYG
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>button标签</title>
</head>
<!-- 
    input按钮
        type="button"   普通按钮
        type="submit"   提交按钮
        type="reset"    重置按钮
    button标签
        type="button"
        type="submit"
        type="reset"
    
        双标签,标签之间可以添加内容(文本或标签等)
 -->
<body>
    <form action="https://www.baidu.com" method="GET">
        <input type="text" name="" id="" value="">
        <input type="button" value="普通按钮">
        <input type="submit" value="提交按钮">
        <input type="reset" value="重置按钮">
        <hr>
        <button type="button">普通按钮</button>
        <button type="submit">提交按钮</button>
        <button type="reset">重置按钮</button>

        <hr>
        <button>按钮</button>
    </form>
    
    
</body>
</html>

分类:

技术点:

相关文章:

  • 2022-01-08
  • 2021-05-26
  • 2021-11-15
  • 2021-12-03
  • 2021-12-04
  • 2021-12-04
  • 2021-12-04
  • 2022-01-08
猜你喜欢
  • 2021-12-27
  • 2021-10-02
  • 2021-12-03
  • 2021-12-03
  • 2021-08-11
  • 2021-12-11
  • 2021-11-17
相关资源
相似解决方案