codeGK
Code it ALL
HTML Forms - CodeGK
♦ HTML Forms

♣ About HTML Forms

HTML forms are used to accept user input.
User inputs such as username, password, etc can be accepted via form.
Validations can be performed on retrieved data.

♣ HTML Forms Syntax

Below is the representation of HTML Forms Syntax.
Basic Syntax
. . form_elements . .
Syntax Explanation:
form_attributes : the attributes which define properties such as action, reques-type, etc form_elements : input elements and submit button

♣ Example1: Text Input in HTML

In this example, Text Input is illustrated.
Example
Input:
Output:

♣ Example2: Radio Input in HTML

In this example, Radio Input is illustrated.
Example
Input:
Output:
Prev_LessonNext_Lesson