<del id="qaomo"><button id="qaomo"></button></del>
  • <small id="qaomo"></small>
  • <rt id="qaomo"><noframes id="qaomo"></noframes></rt>
  • \n
    \n
    \nName: \n\n<\/form>\n<\/div>\n<\/body>\n<\/html><\/pre>\n

    So we have a very simple web form along with only one input data field as “Name”. Please note that we have used the required keyword in the input tag element.<\/p>\n

    Output<\/strong>:<\/p>\n

    \"HTML<\/p>\n

    Let’s try to submit the form without entering any value in the name field. Upon submitting, you will get the error message as “Please fill out this field”, and the form will not be submitted.<\/p>\n

    Output with blank data:<\/strong><\/p>\n

    \"HTML<\/p>\n

    So it can be seen that the error message is not added by us and is provided by HTML itself.<\/p>\n

    Like the required attribute provided by HTML, there are various form tags available to use. Below is the list of some form validation tags,<\/p>\n