Part 2 Practical 2 Create registration form for social networking website using HTML5 form tag and attributes.

                                               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.

Screenshot



Name : Thakor Hardik

Id No : 18CE129