Mini html practice

 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="action/">
    <h2>Regestration Form</h2>
    <div>
    <lable for="firstname"></lable>
    <input type="text" id="firstname" placeholder="First Name">
    <lable for="lastname"></lable>
    <input type="text" id="lastname" placeholder="Last Name">
    </div>
    <div>
        Please select your gender
        <select name="gender" id="gender">
            <option value="male">Male</option>
            <option value="female">Female</option>
        </select>
    </div>
    <div>
        Do you agree to all terms of service ?
        <input type="checkbox" name="agree" id="agree" checked>
        <lable for="agree">Yes,I agree</lable>
    </div>
    <div>
        <button type="submit">Register</button>
    </div>
   




    </form>
   
</body>
</html>

Comments

Popular posts from this blog

Telephone