e 1 năm trước cách đây
mục cha
commit
d01e9944d3
3 tập tin đã thay đổi với 75 bổ sung0 xóa
  1. 0 0
      day2/2.demo1.html
  2. 27 0
      day2/4.demo2.html
  3. 48 0
      day2/5.demo3.html

+ 0 - 0
day2/2.demo.html → day2/2.demo1.html


+ 27 - 0
day2/4.demo2.html

@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8">
+        <title>案例2</title>
+    </head>
+    <body>
+        <div>
+            <h3>欢迎注册网易免费邮箱</h3>
+            <form action="">
+                <p>手机号码@163.com,方便好记</p>
+                <!-- 
+                    label是input标签的元素标记
+                 -->
+                <label for="">手机号</label>
+                <input type="text" placeholder="请输入您的手机号码">
+                <br><br>
+                <label for="">密码</label>
+                <input type="password" placeholder="请输入密码">
+                <br><br>
+                <input type="checkbox">同意《服务条款》、《隐私政策》和《儿童隐私政策》
+                <br><br>
+                <input type="button" value="立即注册">
+            </form>
+        </div>
+    </body>
+</html>

+ 48 - 0
day2/5.demo3.html

@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+    <head>
+        <meta charset="utf-8">
+        <title>案例三</title>
+    </head>
+    <body>
+        <div>
+            <h1>注册信息</h1>
+            <form action="">
+                <label for="">用户名:</label>
+                <input type="text" placeholder="请输入用户名">
+                <br><br>
+                <label for="">密码:</label>
+                <input type="password" placeholder="请输入密码">
+                <br><br>
+                <label for="">性别:</label>
+                <input type="radio" name="same">男
+                <input type="radio" name="same">女
+                <br><br>
+                <label for="">兴趣爱好:</label>
+                <input type="checkbox" checked>篮球
+                <input type="checkbox">排球
+                <input type="checkbox">足球
+                <input type="checkbox" disabled>网球
+                <input type="checkbox">台球
+                <input type="checkbox">乒乓球
+                <input type="checkbox">羽毛球
+                <br><br>
+                <label>最高学历:</label>
+                <select>
+                    <option value="小学" disabled>小学</option>
+                    <option value="初中">初中</option>
+                    <option value="高中">高中</option>
+                    <option value="大学" selected>大学</option>
+                </select>
+                <br><br>
+                <label>个人说明</label>
+                <textarea  cols="30" rows="10" maxlength="20"></textarea>
+                <br><br>
+                <input type="reset">
+                <input type="button" value="注册">
+                <br><br>
+                <a href="">提示:注册成功之后请点击这里您将直接登陆系统!</a>
+            </form>
+        </div>
+    </body>
+</html>