उपयुक्त लेबल और प्लेसहोल्डर के साथ एक मान्य HTML फॉर्म तैयार करें।
<!DOCTYPE html>
<html>
<head>
	<title>Form Example</title>
</head>
<body>
	<form action="submitForm.php" method="post">
		<label for="username">Username:</label>
		<input type="text" id="username" name="username" placeholder="Enter Username" required>
		
		<label for="email">Email:</label>
		<input type="email" id="email" name="email" placeholder="Enter Email" required>
		
		<label for="password">Password:</label>
		<input type="password" id="password" name="password" placeholder="Enter Password" required>
		
		<label for="confirm-password">Confirm Password:</label>
		<input type="password" id="confirm-password" name="confirm-password" placeholder="Confirm Password" required>
		
		<label for="gender">Gender:</label>
		<select id="gender" name="gender">
			<option value="male">Male</option>
			<option value="female">Female</option>
			<option value="other">Other</option>
		</select>
		
		<label for="address">Address:</label>
		<textarea id="address" name="address" rows="5" cols="30" placeholder="Enter Address"></textarea>
		
		<input type="submit" value="Submit">
	</form>
</body>
</html>