File tree Expand file tree Collapse file tree 4 files changed +115
-1
lines changed
Expand file tree Collapse file tree 4 files changed +115
-1
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ <h2>Form</h2>
7474 用户名 < input type ="text " name ="user ">
7575 密码 < input type ="password " name ="password ">
7676 < input type ="submit ">
77- </ form > < br > < br >
77+ </ form > < br > < br >
7878 < form action ="">
7979 < input type ="radio " name ="sex " value ="male "> 男 < br >
8080 < input type ="radio " name ="sex " value ="female "> 女 < br >
@@ -83,6 +83,15 @@ <h2>Form</h2>
8383 < input type ="checkbox " name ="fruit " value ="apple "> 苹果 < br >
8484 ------------------------------------------------------ < br >
8585 </ form >
86+ < form action ="">
87+ < input type ="number " name ="number " id ="id ">
88+ < textarea name ="" id ="" cols ="30 " rows ="10 "> </ textarea >
89+ <!-- <button>提交</button> -->
90+ < input type ="text " value ="default ">
91+ < input type ="sumbit "> sumbit
92+ < input type ="reset "> reset
93+ < input type ="button "> button
94+ </ form >
8695 < form action ="">
8796 < select name ="fruit " id ="a ">
8897 < option value ="1 "> apple</ option >
Original file line number Diff line number Diff line change 1+ a : link {
2+ color : aliceblue;
3+ }
4+
5+ a : visited {
6+ color : black;
7+ }
8+
9+ a : active {
10+ color : blue;
11+ }
12+
13+ a : hover {
14+ color : blueviolet;
15+ text-decoration : none;
16+ }
17+
18+ a ::after {
19+ color : aqua;
20+ }
21+
22+ td {
23+ text-decoration : none;
24+ }
25+
26+ .tab ,
27+ tr ,
28+ td {
29+ border-style : solid;
30+ border-color : blueviolet;
31+ border-width : 1px ;
32+ border-collapse : collapse;
33+ text-align : center;
34+ }
35+
36+ table {
37+ height : 50% ;
38+ width : 25% ;
39+ }
40+
41+ caption {
42+ font-size : 40px ;
43+ font-weight : 600 ;
44+ font-family : '宋体' ;
45+ }
46+
47+ ul {
48+ list-style-type : none;
49+ list-style-position : inside;
50+ list-style : none;
51+ }
52+
53+ input [type = "text" ] {
54+ padding-left : 30px ;
55+ margin : 0px ;
56+ transition : width 0.5s ;
57+ width : 20% ;
58+ text-align : center;
59+ height : 30px ;
60+ background-image : url ("select.png" );
61+ background-repeat : no-repeat;
62+ border-radius : 20px ;
63+ }
64+
65+ input : focus {
66+ background-color : lightblue;
67+ width : 40% ;
68+ }
69+
70+ p : active {
71+ color : purple
72+ }
73+
74+ p : hover {
75+ color : lightblue
76+ }
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7+ < title > Document</ title >
8+ < link rel ="stylesheet " href ="7.css ">
9+ </ head >
10+ < body >
11+ < a href ="./7.html "> jump</ a >
12+ < table class ="tab ">
13+ < caption > Caption</ caption >
14+ < tr >
15+ < td > title1</ td >
16+ < td > title2</ td >
17+ </ tr >
18+ < tr >
19+ < td > roll 1 cell 1</ td >
20+ < td > roll 1 cell 2</ td >
21+ </ tr >
22+ < tr >
23+ < td > roll 2 cell 1</ td >
24+ < td > roll 2 cell 2</ td >
25+ </ tr >
26+ </ table >
27+ < input type ="text " placeholder ="Default ">
28+ </ body >
29+ </ html >
You can’t perform that action at this time.
0 commit comments