Skip to content

COder-jiya/HTML.form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

<title>form</title> <style> h1{ text-align: center; } input{ padding: 5px; margin: 10px; background-color: lightgoldenrodyellow; border-radius: 50px; } fieldset{ padding: 30px; background-color: pink; margin: 50px; width: 400px; height: auto; } body{ font-family: cursive; } </style>

Form ♥

<label for="name">Name:</label>
<input type="text" id="name" name="name" placeholder="Enter your name"><br><BR>

 <label for="password">Password:</label>
<input type="password" id="password" name="password" placeholder="Enter password"><br><br>

 <label for="age">Age:</label>
 <input type="number" id="emale" name="emale" placeholder="Enter your age"><br><br>

<label for="email">Email:</label>
<input type="email" id="email" name="email" placeholder="Enter your email"><br><br>

<label for ="Gender">Gender:</label><br>
 <label for="male">Male:</label>
<input type ="radio" id="male" name="gender" value="male"><br>

<label for="female">Female:</label>
<input type="radio" id="female" name="gender" value="female"><BR><br>

    <label for="Cars">Please select you favourite car:</label><br>
    <select name="select" id="select">
        <option value="select">Select</option>
        <option value="Tata">Tata</option>
        <option value="kia">kia</option>
        <option value="BMW">BMW</option>
        <option value="Audi">Audi</option>
        <option value="Mercedes">Mercedes</option>
        <option value="RollsRoyce">RollsRoyce</option>
    </select><br><br>

    <input type="checkbox" name="agree" id="agree" value="agree">
    <label for="Agree">:Please Agree before submitting form</label><br><br>
   

    <input type="submit" name="submit"id = "submit" value="submit">
    <input type="reset"name="reset"id="reset"value="reset">

About

html code for making form in html

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published