Created
September 8, 2020 04:20
-
-
Save Sarfarazsajjad/b2d31017bf8d41f25e55b523cc162d71 to your computer and use it in GitHub Desktop.
Form Validation Assignment 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Form validation: Task 1</title> | |
<style> | |
body { | |
background-color: #fff; | |
color: #333; | |
font: 1em / 1.4 Helvetica Neue, Helvetica, Arial, sans-serif; | |
padding: 1em; | |
margin: 0; | |
} | |
* { | |
box-sizing: border-box; | |
} | |
</style> | |
</head> | |
<body> | |
<form> | |
<h2>Enter your support query</h2> | |
<ul> | |
<li> | |
<label for="uname">User name:</label> | |
<input type="text" name="uname" id="uname"> | |
</li> | |
<li> | |
<label for="email">Email address:</label> | |
<input type="text" name="email" id="email"> | |
</li> | |
<li> | |
<label for="phone">Phone number:</label> | |
<input type="text" name="phone" id="phone"> | |
</li> | |
<li> | |
<label for="comment">Comment:</label> | |
<textarea name="comment" id="comment"> | |
</textarea> | |
</li> | |
<li> | |
<button>Submit comment</button> | |
</li> | |
</ul> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment