I have a simple form that I found from a tutorial but am now lost. Unfortunately I haven't learned forms yet.
My questions are: (based from the code below)
1. What do I add to my code to make the submit button, submit the info.
2. What do I add to my code to make my required fields, actually required upon submission?
HTML
Code:
<div id="stylized" class="myform">
<form id="form" name="form" method="post" action="index.html">
<label>Name *</label>
<input type="text" name="name" id="name" />
<label>Email *</label>
<input type="text" name="email" id="email" />
<label>Website (URL) *</label>
<input type="text" name="website" id="website" />
<label>Phone Number</label>
<input type="text" name="phone number" id="phone number" />
<button type="submit"><img src="images/submit.gif" /></button>
</form>
</div>
CSS
Code:
.myform{
width:245px;
height: 340px;
padding: 60px 12px 0px 12px;
font-size:13px;
color: #ffffff;
}
#stylized{
background: url(images/quote-request-2.gif) no-repeat;
}
#stylized label{
display:block;
font-weight:bold;
width:140px;
text-align: left;
margin-left: 10px;
}
#stylized input{
font-size:13px;
padding:4px 2px;
width:200px;
margin:2px 0 10px 10px;
}
#stylized button{
background: none;
border: none;
margin-left:111px;
width:109px;
height: 30px;
}