Get the code of Simple HTML Form and watch video tutorials. You can practice using our code editor. Our practical guide will make your learning journey much easier. You can explore the tutorial and learn.
<form action="#">
Name:
<input type="text">
Age:
<input type="number">
<input type="reset">
<input type="submit">
</form>form {
background: lightgreen;
padding: 10px;
}
input {
margin-top: 10px;
}
input[type="reset"],
input[type="submit"]{
background: black;
color: white;
border: none;
padding: 5px 10px;
border-radius: 5px;
}