<!DOCTYPE html> <html> <head> <meta charset= "UTF-8" > <title></title> <style type= "text/css" > form { 100%; height:700px; margin-top: 0px; background:#008B8B; } div { display:inline-block; padding-top: 80px; padding-right: 20px; } h2 { font-family: "沈阳科技学院" ; font-size: 40px; color:black; } #log { color:blue; } </style> </head> <body> <form name= "login" > <center> <div> <h2> 16号楼206 </h2> <p> 用户名:<input type= "text" /> </p> <p> 密 码:<input type= "password" /> 和密码对齐,小伙伴可以试着 先不加这个运行一下看一下结果 </p> <p> <input id=log type= "submit" value= "登录" /> </p> <p> 还没有账号?<a href= "register.html" >立即注册</a> </p> </div> </center> </form> </body> </html> |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
<!DOCTYPE html> <html> <head> <meta charset= "UTF-8" > <title></title> <style type= "text/css" > form { 100%; height:700px; margin-top: 0px; background:#008B8B; } div { display:inline-block; padding-top: 40px; padding-left: 0px; } h2 { font-family: "沈阳科技学院" ; font-size: 40px; color:black; } #reg { color:blue; } </style> </head> <body> <form> <div> <h3> 注册 </h3> <p> 用户名:<input type= "text" /> </p> <p> 密 码:<input type= "password" /> </p> <p> 手机号:<input type= "text" /> </p> <p> <input id=reg type= "submit" value= "立即注册" /> </p> <p> 已有账号?<a href= "login.html" >请登录</a> </p> </form> </div> </body> </html> |