form & socket

form socket

form.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>form</title>
</head>
<body>
<form action="http://127.0.0.1:8888" method="post">
    <p>用户名:
        <input type="text" name="username">
    </p>
    <p>密码:
        <input type="password" name="password">
    </p>
    <p>性别:
        <input type="radio" name="gender" value="male">男
        <input type="radio" name="gender" value="female">女
    </p>
    <p>爱好:
        <input type="checkbox" name="hobby" value="basketball">🏀&nbsp;&nbsp;
        <input type="checkbox" name="hobby" value="tennis">🎾&nbsp;&nbsp;
        <input type="checkbox" name="hobby" value="football">⚽️&nbsp;&nbsp;
    </p>
    <p>
        <input type="submit" value="提交">
    </p>
</form>
</body>
</html>

form-bootstrap.html

socket.py

Last updated