Skip to main content

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

Tags and attributes used:


  • The pattern attribute specifies a regular expression that the <input> element's value is checked against on form submission.

  • Setting the style of an HTML element, can be done with the style attribute.

  • The <fieldset> tag is used to group related elements in a form, it draws a box around the related elements.

  • The <font> tag specifies the font face, font size, and color of text.

  • The <legend> tag defines a caption for the <fieldset> element.

Screenshots:


Comments