首页 > 代码库 > html5 css3表单

html5 css3表单

<!DOCTYPE html>
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
div{
margin:20px;
}
</style>
<script type="text/javascript"></script>
</HEAD>

<BODY>
	<form id="redemption" method="post">
		<hgroup>
			<h1>Oscar Redemption</h1>
			<h2>Here`s your chance to set the record straight:tell us what year the wrong film got nominated,and which film <b>should</b>have received a nod ...</h2>
		<hgroup>
		<fieldset>
		<legend>About the offending film (part 1 of 3)</legend>
		<div>
			<label for="film">The film in question?</label>
			<input id="film" name="film" type="text" placeholder="e.g.King Kong" required aria-required="true">
		</div>
		<div>
			<label for="search">Search the site...</label>
			<input id="search" name="search" type="search" placeholder="Wyat Earp" autofocus>
		</div>
		<div>
			<label for="tel">Thphone(so we berate you if you're wrong)</label>
			<input id="tel" name="tel" type="tel" placeholder="1-234-546758" autocomplete="off" required aria-required="true">
		</div>
		<div>
			<label for="awardWon">Award Won</label>
			<input id="awardWon" name="awardWon" type="text" list="awards">
			<datalist id="awards">
				<select>
					<option value=http://www.mamicode.com/"Best Picture1">>

html5 css3表单