HTML Form: Creating a Submit or Reset button

This entry is part 5 of 10 in the series HTML Form

For a form, we would need to include a Submit button on the form so that visitors can send the information to us.

The default button text is Submit, but we can use a value attribute to display different text on the button.

<!DOCTYPE html>
<head lang='en'>     
    <meta charset='UTF-8'>

Name: <input type='text' name='name'>
Phone: <input type='text' name='phone'>

<textarea name='comment' rows='3'></textarea>
<input type='submit' value='Send'>
<input type='reset' value='Clear'>




Series Navigation<< HTML Form: Multiline textbox using textarea
HTML Form: Placeholder text >>