HTML and CSS Reference
In-Depth Information
Figure 3-8. The Feedback link on the home page
8. Click this link to display the feedback form, which is shown in Figure 3-9 .
Figure 3-9. The initial feedback form
9. Enter an invalid email address and click the submit button. You should see the
standard HTMl5 validation error as shown in Figure 3-10 .
Figure 3-10. The standard HTML5 validation error
10. View the source of the feedback form, which should be similar to this:
<form action="/Home/Feedback" method="post">
<fieldset>
<legend>Feedback Form</legend>
<div>
<input class="text-box single-line" data-val="true"
data-val-required="The Email field is required."
id="Email" name="Email"
placeholder="Enter an e-mail address"
type="email" value="" />
</div>
<p>
<input type="submit" value="Submit" />
</p>
</fieldset>
</form>
 
Search WWH ::




Custom Search