No announcement

Form Elements

Form elements are used to collect different types of user input within a form, such as text, numbers, checkboxes, radio buttons, and more.



<!DOCTYPE html>
    <meta charset="UTF-8">
    <title>Form Elements Example</title>
        <label for="name">Name:</label>
        <input type="text" id="name" name="name">

        <label for="email">Email:</label>
        <input type="email" id="email" name="email">

        <label for="age">Age:</label>
        <input type="number" id="age" name="age">


In this example, we have three form elements: a text input for the name, an email input for the email address, and a number input for the age.