How are mandatory fields made in HTML forms (those that commonly use an asterisk *
to indicate mandatory)? Is there any parameter directly in the input
tag? If not, how is validation done (for example, at the time the user clicks send, if the field was not filled out a message is displayed and the form is not sent)?