Skip to main content

Command Palette

Search for a command to run...

forms in html

Published
•1 min read•View as Markdown

forms in html

An HTML form is used to collect user input. The user input is most often sent to a server for processing.

The <form> Element

The HTML <form> element is used to create an HTML form for user input:

<form>
.
form elements
.
X<html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <body> <DOCTYPE html> <html lang ="em" <head> <body> <title>forms</title> <h1>forms</h1> <form> <div><br> <input type="texr" placeholder="enter your name" /> <label for="enter your name"</label > <br><br> <input type="mail" placeholder="enter your email"/><br><br> <input type="password" placeholder="password"/><br><br> <input type=" phonenumber" placeholder="phonenumber"><br><br> <input type="date" placeholder="date"><br><br> <input type="fil"placeholder="file"><br><br> <input type="contry"placeholder="country "/><br><br> <input type="gender" placeholder="gender"/><br><br> <input type="button"value="click"/><br> <input type="checkbox"name="skill" value="html" />html<br> <input type="checkbox"name="skill" value="css" />css<br> <input type="checkbox"name="skill" value="javasript"/>javasript<br><br> <select any option> <input type="submit"value="submit"> <br> <input type="checkbox"name="languuage"value="telugu/>telugu<br> <input type="checkbox"name="languuage"value="english/>englisg<br> <input type="checkbox"name="languuage"value="hindi/>hindi<br> <button>submit</button> <button>reset</button> <button>back</button> </div> </form> </body>

</html>

out put

forms

html
css
javasript

</html>