网页设计 | 表单前台设计 - 简单的注册页面
实验目的
表单的前台设计,用CSS控制表单的外观(具体样式自己设计)
实验内容
制作表单并能通过CSS样式控制其外观
实验程序(代码清单)
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<style>
body{
background:url(car2.jpg); }
p {
color:#FC6;}
span {
color:#9C3; text-decoration:underline;}
#textarea {
background-color:antiquewhite; }
.input{
background-color: #EDCC8B;}
form{
text-align: center}
h1{
color:beige; text-align: center; }
</style>
</head>
<body >
<h1>注册页面</h3>
<form action="" method="get" style="margin: auto">
<p>
<label for="textfield">我的邮箱:</label>
<input type="text" name="textfield" id="textfield" class="input">
</p>
<p>
<label for="