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="Best Picture1"></option>
					<option value="Best Picture2"></option>
					<option value="Best Picture3"></option>
					<option value="Best Picture4"></option>
				</select>
			</datalist>
		</div>
	</form>
</BODY>
</HTML>

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。