Q.4 - Write a HTML code using CSS to create a job application form
Create a job application form with the following sections:
(I) Personal Information:
• First Name, Middle Name, Last Name
• Gender
• Address & Phone Number
(II) Education Details:
• 10th Standard
• 12th Standard
• Graduation
• Others
(III) Experience:
• Experience in months
ANSWER
Simple HTML Solution:
<!DOCTYPE html>
<html>
<head>
<title>Job Application Form</title>
</head>
<body>
<h1>Job Application Form</h1>
<form action="#" method="post">
<h2>(I) Personal Information</h2>
<p>
<label for="firstName">First Name:</label>
<input type="text" id="firstName" name="firstName" required>
</p>
<p>
<label for="middleName">Middle Name:</label>
<input type="text" id="middleName" name="middleName">
</p>
<p>
<label for="lastName">Last Name:</label>
<input type="text" id="lastName" name="lastName" required>
</p>
<p>
<label>Gender:</label><br>
<input type="radio" id="male" name="gender" value="male" required>
<label for="male">Male</label><br>
<input type="radio" id="female" name="gender" value="female">
<label for="female">Female</label><br>
<input type="radio" id="other" name="gender" value="other">
<label for="other">Other</label>
</p>
<p>
<label for="address">Address:</label><br>
<textarea id="address" name="address" rows="4" cols="50" required></textarea>
</p>
<p>
<label for="phone">Phone Number:</label>
<input type="tel" id="phone" name="phone" required>
</p>
<h2>(II) Education Details</h2>
<p>
<label for="tenth">10th Standard (%):</label>
<input type="number" id="tenth" name="tenth" min="0" max="100" required>
</p>
<p>
<label for="twelfth">12th Standard (%):</label>
<input type="number" id="twelfth" name="twelfth" min="0" max="100" required>
</p>
<p>
<label for="graduation">Graduation (%):</label>
<input type="number" id="graduation" name="graduation" min="0" max="100" required>
</p>
<p>
<label for="others">Others (Certifications, etc.):</label><br>
<textarea id="others" name="others" rows="3" cols="50"></textarea>
</p>
<h2>(III) Experience</h2>
<p>
<label for="experience">Experience (in months):</label>
<input type="number" id="experience" name="experience" min="0" required>
</p>
<p>
<label for="skills">Skills & Expertise:</label><br>
<textarea id="skills" name="skills" rows="4" cols="50" placeholder="List your technical skills, programming languages, tools, etc."></textarea>
</p>
<p>
<input type="submit" value="Submit Application">
</p>
</form>
</body>
</html>