Html Forms with Reset Button Code
<!DOCTYPE html>>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="nav.css">
<script src="https://use.fontawesome.com/d07a8c2f55.js"></script>
<link rel="preconnect" href="https://fonts.gstatic.com">
<title>Html Form</title>
</head>
<body>
<h1>Reset button with htmlforms</h1>
<form>
<label for="fname">firstname</label>
<input type="text"id="fname"placeholder="john">
<label for="lname">lastname</label>
<input type="text"id="lname"placeholder="Doe">
<input type="submit"value="submit">
<input type="reset">
</form>
</body>
</html>
No comments:
Post a Comment