使用HTML5制作一个注册静态网页

发布于:2023-01-15 ⋅ 阅读:(607) ⋅ 点赞:(0)

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Document</title>

</head>

<body>

    <form action="https://www.jiayuan.com/" target="blank">

        <h3>青春不常在,抓紧谈恋爱</h3>

        昵称:<input type="text" placeholder="请输入昵称"><br>

        性别:<input type="radio" name="yy" id="ss" checked><label for="ss">男</label>

        <input type="radio" name="yy" id="aa"><label for="aa">女</label><br>

        所在城市:<select>

            <option>北京</option>

            <option>上海</option>

            <option>贵阳</option>

            <option>南京</option>

        </select><br>

        婚姻状况:<input type="radio" name="oo" id="mm" checked="checked"><label for="mm">未婚</label>

        <input type="radio" name="oo" id="vv"><label for="vv">已婚</label>

        <input type="radio" name="oo" id="ff"><label for="ff">丧偶</label><br>

        喜欢的类型:<input type="checkbox" checked="checked">可爱

        <input type="checkbox" checked="checked">性感

        <input type="checkbox">小鲜肉

        <input type="checkbox">大叔<br>

        个人介绍:<br>

        <textarea name="" id="" cols="60" rows="10"></textarea>

        <h4>我承诺</h4>

        <ul>

            <li>年满18岁、单身</li>

            <li>抱着严肃的态度</li>

            <li>真诚寻找另一半</li>

        </ul>

        <input type="checkbox">我同意所有条款<br>

        <input type="button" value="免费注册">

        <input type="reset" value="重置">

    </form>


 

</body>

</html>


网站公告

今日签到

点亮在社区的每一天
去签到