A small validator for HTML forms.