1<!doctype html>234<title>easymall Registration Interface </title>5<meta http-equiv= "Content-type" content= "text/html" charset= "Utf-8" >6<link rel= "stylesheet" href= "D:/myeclipse 10/day02/regit/css/regit.css" >78<body>9Ten<form action= "#" method= "POST" > One<table> A<tr> -<tdclass= "Td_txt" > Username:</td> -<td><input type= "text" name= "Usrename" ></td> the</tr> -<tr> -<tdclass= "Td_txt" > Password:</td> -<td><input type= "password" name= "password" ></td> +</tr> -<tr> +<tdclass= "Td_txt" > Confirm password:</td> A<td><input type= "Password" name= "Password1" ></td> at</tr> -<tr> -<tdclass= "Td_txt" > Nickname:</td> -<td><input type= "text" name= "nickname" ></td> -</tr> -<tr> in<tdclass= "Td_txt" > Email:</td> -<td><input type= "text" name= "email" ></td> to</tr> +<tr> -<tdclass= "Td_txt" > Verification Code:</td> the<td><inputclass= "TD1" type= "text" name= "Yzm" > *</td> $</tr>Panax Notoginseng<tr> -<TD colspan= "2"class= "TD" ><input type= "Submit" value= "Registered user" ></td> the</tr> +</table> A</form> the</body> + - $ $ body{ -Background-image:url ("D:/myeclipse 10/day02/regit/img/zc.jpg"); -background-repeat:no-repeat; thefont-family: "Microsoft Ya Hei"; -background-Position:top;Wuyi } the h1{ -text-Align:center; Wumargin-top:190px; -margin-bottom:30px; AboutColor: #990000; $ } - table{ - /*Text-align:center;*/ - margin:0px Auto; A } + Table TR td.td_txt{ thetext-Align:right; -font-size:18px; $ } the . td1{ the width:80px; thevertical-Align:middle; the } -. td1+img{ invertical-Align:middle; the } the Table TR td.td{ Abouttext-Align:center; the } the input{ the width:150px; + height:22px; -border-color: #ccc; the }Bayi theInput[type= "Submit"]{ thebackground-color:red; - Border:none; - width:127px; the height:44px; thefont-size:20px; the Color:white; thefont-Weight:bolder; - the } theInput[type= "Submit"]:hover{ thebackground-Color:blue;94 } theInput[type= "Submit"]:active{ thebackground-Color:green; the }98Input[type= "Submit"]:visited{ Aboutbackground-Color:pink; -}
CSS adds effect to HTML