<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Submit Form</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<style>
* {margin: 0; padding: 0}
#wrapper {
margin: auto; width: 450px;
height: 500px; overflow: hidden; padding: 5px
}
input.text {
color: #1558E8;
width: 450px;
height: 45px;
font-size: 28px;
}
input.submit {
height: 45px;
font-size: 28px;
background-color: gray;
border: 1px solid gray;
cursor: pointer;
}
.label {
display: block;
}
</style>
</head>
<body>
<div id="wrapper">
<form name="fSample" method="" action="" autocomplete="off" style="line-height: 250%">
<label for="fSample_name">Name</label>
<div>
<input class="text" id="fSample_name" type="text" name="name" value="Enter your name..." onclick="if (this.value == 'Enter your name...') this.value = '';">
</div>
<label for="fSample_message">Message</label>
<div>
<input class="text" id="fSample_message" type="text" name="message" value="Enter message" onclick="if (this.value == 'Enter message') this.value = '';">
</div>
<div>
<input type="checkbox" name="private" value="1"> Private
</div>
<div style="text-align:center">
<input class="submit" type="submit" value="Submit">
</div>
</form>
</div>
</body>
</html>
Title:
HTML Submit Form Example
Description:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd...
...
Rating:
4