zoukankan      html  css  js  c++  java
  • form标签

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>Title</title>
    </head>
    <body>
    <form action="127.0.0.1:8800/index" mmethod="post">
    <p>学号:<input type="text" name="number"></p>
    <p>密码:<input type="password" name="password"></p>
    <p><input type="button" value="press"></p>
    <p>爱好:basketball<input type="checkbox" name="hobby" value="1">
    dance<input type="checkbox" name="hobby" value="2">
    swimming<input type="checkbox" name="hobby" value="3">

    </p>
    <!--name属性是给服务器看的-->
    <p>男<input type="radio" name="sex" value="101"></p>
    <p>女<input type="radio" name="sex" value="102"></p>
    <!--重置-->
    <p><input type="reset"></p>
    <!--上传文件-->
    <p><input type="file"></p>

    <p><input type="submit" value="提交"></p>

    </form>

    </body>
    </html>

    
    
  • 相关阅读:
    DRF简易了解
    Restful API接口规范
    Python分页
    vue笔记(一)
    CNN实现手写数字识别
    深度学习框架Keras
    NLP自然语言处理
    深度学习框架Tensorflow
    维度的区分
    矩阵求导
  • 原文地址:https://www.cnblogs.com/startl/p/12143814.html
Copyright © 2011-2022 走看看