Form in html

technical talkiess
0

 <!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>

    <h1>Basic form in html</h1>

    <form action="tetst.php">

        <label for="name">name</label>

        <div>

            <input type="text" name="Name" id="name">

        </div>

        <br>

        <label for="number">Number</label>

        <div>

            <input type="number" name="number">

        </div>

        <br>

        <label for="email">email</label>

        <div>

            <input type="email" name="email">

        </div>

        <br>

        <label for="emailLetter">Receive email letter</label>

        <div>

            <input type="checkbox" name="emailLetter">

        </div>

        <br>

        <label for="emailLetter">Tell About Youself?</label>

        <div>

            <textarea name="about" id="about" cols="30" rows="10"></textarea>

        </div>

        <br>

        <label for="radio">Gender</label>

        <div>

            male : <input type="radio" name="gender"> Female : <input type="radio" name="gender"> Other : <input type="radio" name="gender"> 

        </div>

        <br>

        <label for="radio">List</label>

        <div>

            <select name="list" id="list">

                <option value="t">Test</option>

                <option value="t1">Test 1</option>

                <option value="t2">Test 2</option>

                <option value="t3">Test 3</option>

            </select>       

        </div>

        <br>

        <div>

            <input type="submit" value="Submit value ">    

            <input type="reset" value="Reset value ">    

        </div>

        <br>

    </form>

</body>

</html>

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)