Part-2 Prac 2 : Create registration form for social networking website using HTML5 form tag and attributes. Apply necessary validation using HTML5 pattern attributes which Specifies a regular expression to check the input value against.



Registration Form

Tag Used In Form :

  1. Form tag
  2. Input tag
  3. Select tag

1. form tag :  It is the root tag for create html form.

The <form> element can contain one or more of the following form elements:
  • <input>
  • <button>
  • <select>
2. input tag : The <input> tag specifies an input field where the user can enter 

data.input elements are used within a  form element to declare input controls that 

allow users to input data.An input field can vary in many ways, depending on the 

type attribute.

Attributes :
  • Pattern  : Specifies a regular expression that an input element's value  
                        is  checked against
  • Placeholder :  Specifies a short hint that describes the expected value of an
                               input element
  • Required : Specifies that an input field must be filled out before submitting 
                          form

3. select tag : The <select> element is used to create a drop-down list.
The  option tags inside the select element define the available options in the list.


Name: Naisarg Modi
ID: 18CE055

Comments

Popular posts from this blog

Part-7 Prac 3: Study and demonstrate mysqli connection and CRUID operations with php.

Part-6 Prac 1: Implement following tasks using jQuery

Part-2 Prac 3: If you could take the perfect trip, where would you go??? What animals would you see? What food would you eat? Add images to this webpage after each paragraph tag, to share your perfect trip with the world. Apply graphics using HTML CANVAS along with properties and methods.