How to mark your name as required in HTML?

The simplest change you can make to your forms is to mark a text input field as ‘required’: Your Name: Your Name: This informs the (HTML5-aware) web browser that the field is to be considered mandatory.
For More Information Please Refer:


You May Also Like to Read: