Create Html Form

 



Code:

<form action="form.php">

     <div>

         <label for="name">Name: </label><input type="text" name="myname" id="name">

     </div><br>

     <div>

         Password:<input type="password" name="mypass">

     </div><br>

     <div>

         Email: <input type="email" name="myemail">

     </div><br>

     <div>

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

    </div><br>

    <div>

        Sem:<br>

        <label for="1st">1st:</label><input type="checkbox" name="checkbox" checked id="1st"><br>

        2nd:<input type="checkbox" name="checkbox">

    </div><br>

    <div>

        Gen:

        Male:<input type="radio" name="gen">

        Female:<input type="radio" name="gen">-

    </div><br>

    <div>

        About You:<br><textarea name="My text" cols="30" rows="5"></textarea>

    </div><br>

 

    <div>

        Game:

        <select name="My game">

           

            <option value="pub">PUBG</option>

            <option value="cs">CSGO</option>

        </select>

 

    </div><br>

    <div>

        <input type="submit" value="submit ok"><input type="reset" value="reset">

    </div>

 </form>


No comments:

Powered by Blogger.