Skip to main content

PRACTICAL 2_2

PRACTICAL 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. 


THEORY
In this webpage,HTML form tags and attributes are used to make a registration form.Also table tags  are used.

IMPORTANT TAGS & ATTRIBUTES:

  • <form>: The HTML form element defines a form that is used to collect user input.
  • <input>: It defines a single-line input field for text input. 
  • <textarea>: The <textarea> tag defines a multi-line text input control.
  • value: The input value attribute specifies an initial value for an input field.
  • maxlengthThe input maxlength attribute specifies the maximum number of characters allowed in an input field.

SCREENSHOT WEBPAGE:




NAME:AYUSH SINGLA
ID:18CE122

Comments