码迷,mamicode.com
首页 > Web开发 > 详细

html随笔

时间:2015-08-26 17:16:27      阅读:166      评论:0      收藏:0      [点我收藏+]

标签:

 1 <!DOCTYPE HTML>
 2 <html>
 3 <head>
 4 <meta charset = "utf-8">
 5 <script src = "demo2js.js"></script>
 6 <script src="http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js"></script>
 7 <title>
 8 </title>
 9 </head>
10 <body>
11 <div>
12 <form action = "demo2php.php" method = "post">
13 账号:<input type = "text" name = "username" list = "datalist"><br>
14 <datalist id = "datalist">
15 <option value = "aa"></option>
16 <option value = "bb"></option>
17 </datalist>
18 密码:<input type = "password" name = "password"><br>
19 <input type = "submit" name = "submit1" value = "提交">
20 <input type = "reset" name = "reset" value = "重置">
21 </form>
22 </div>
23 <div>
24 <form action = "demo2php.php" method = "post">
25 <label for = "male">male</label>
26 <input type = "radio" id = "male" name = "male"><br>
27 <label for = "female">female</label>
28 <input type = "radio" id = "female" name = "female"><br>
29 <input type = "submit" name = "submit2" value = "提交">
30 </form>
31 </div>
32 <div>
33 <form action = "demo2php.php" method = "post">
34 male<input type = "checkbox" name = "male"><br>
35 female<input type = "checkbox" name = "female"><br>
36 <input type = "submit" name = "submit3" value = "提交">
37 </form>
38 </div>
39 <div>
40 <select>
41 <optgroup label="lenovel">
42 <option>thinkpad</option>
43 <option>lephone</option>
44 </optgroup>
45 <optgroup label="Apple">
46 <option>iphone</option>
47 <option>macbook</option>
48 </optgroup>
49 </select>
50 </div>
51 <div>
52 <select>
53   <optgroup label="Swedish Cars">
54     <option value="volvo">Volvo</option>
55     <option value="saab">Saab</option>
56   </optgroup>
57   <optgroup label="German Cars">
58     <option value="mercedes">Mercedes</option>
59     <option value="audi">Audi</option>
60   </optgroup>
61 </select>
62 </div>
63 <div>
64 <iframe src = "demo3.html" frameborder="0" name = "iframe_a"></iframe>
65 <a href="http://www.baidu.com" target = "iframe_a">链接</a>
66 </div>
67 <div>
68     <p>helloworld<mark>beijing</mark></p>
69 </div>
70 <div>
71     <form action = "demo2php.php" method = "post">
72 <input type = "email">
73 <input type = "submit" value = "submit">
74 </form>
75 </div>
76 <div>
77 <form action="demo-form.php" autocomplete="on">
78   First name:<input type="text" name="fname"><br>
79   Last name: <input type="text" name="lname"><br>
80   E-mail: <input type="email" name="email" autocomplete="off"><br>
81   <input type="submit">
82 </form> 
83 </div>
84 </body>
85 </html>

 

html随笔

标签:

原文地址:http://www.cnblogs.com/assassin666/p/4760576.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!