html login in form
How To Create a Login Form
1] The
<form>
tag in HTML is used to create an HTML form that can be used to collect user input2] The
<form>
tag encloses the entire form, defining the boundaries of the form.3]<form>
tag, form elements like <label>
, <input>
, and <button>
for collecting user input.HTML login form :-
Example
<!DOCTYPE html>
<html>
<head>
<title>Form tag </title>
</head>
<body>
<center>
<h2> Login Form </h2>
<form>
<input type="text" placeholder="Email address"
id="Email" name="email">
<br><br>
<input type ="password" placeholder=
"password" id="pin" name="password"
maxlength="8">
<br><br>
<input type ="reset" value ="reset" style=
"background-color: red;
color:white" >
<input type ="submit" value="submit" style=
"background-color: green;
color: white">
</form>
</center>
</body>
Post a Comment