Professional Documents
Culture Documents
First Name: Div Form Label /label Input
First Name: Div Form Label /label Input
<formaction="action_page.php">
<labelfor="fname">First Name</label>
<input type="text"id="fname" name="firstname"placeholder="Your
name..">
<labelfor="country">Country</label>
<select id="country"name="country">
<optionvalue="australia">Australia</option>
<optionvalue="canada">Canada</option>
<optionvalue="usa">USA</option>
</select>
<labelfor="subject">Subject</label>
<textarea id="subject"name="subject"placeholder="Write
something.."style="height:200px"></textarea>
<input type="submit"value="Submit">
</form>
</div>
/* When moving the mouse over the submit button, add a darker green color
*/
input[type=submit]:hover {
background-color:#45a049;
}