December 2013
Intermediate to advanced
480 pages
14h 11m
English
By default, invalid HTML fields in a form appear with a red border. For example, if you submit an HTML form without entering a value in a required field then the field is displayed with a red border.
You can customize the appearance of form fields in different states of validity by using the following Cascading Style Sheet pseudo classes:
:valid—Applies when an input element is valid
:invalid—Applies when an input element is invalid
:required—Applies when an input element is required (has the required attribute) ...
Read now
Unlock full access