Professional Documents
Culture Documents
20BEC111 WT Practical4
20BEC111 WT Practical4
Practical 4
Design web pages for the following:
<html>
<head>
<title>Practical-3</title>
</head>
<body>
<tr>
<th colspan="3">Header-1</th>
</tr>
<tr>
<th colspan="2">Header-2</th>
<th>Header-3</th>
</tr>
<tr colspan="2">
<td><ol>
</ol>
</td>
</tr>
<tr>
<td>Data Here</td>
<td>
<caption>Caption:Nested Table</caption>
<tr>
<th>Header</th>
</tr>
<tr>
<td>Cell Data</td>
</tr>
</table>
</td>
</tr>
<tfoot>
<tr>
</tr>
</tfoot>
</table>
</body>
</html>
B. Create registration form of your choice. Use appropriate form tags.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Application Form</title>
</head>
<body>
<h2>Student Application Form</h2>
<form action="/submit" method="post">
<label for="firstName">First Name:</label>
<input type="text" id="firstName" name="firstName"
required><br><br>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required><br><br>
<label for="password">Password:</label>
<input type="password" id="password" name="password"
required><br><br>
<label for="age">Age:</label>
<input type="number" id="age" name="age" min="1" required><br><br>
Gender:<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"
required>
<label for="female">Female</label><br><br>
Subjects of Interest:<br>
<input type="checkbox" id="math" name="subjects[]"
value="Mathematics">
<label for="math">Mathematics</label><br>
<input type="checkbox" id="science" name="subjects[]"
value="Science">
<label for="science">Science</label><br>
<input type="checkbox" id="history" name="subjects[]"
value="History">
<label for="history">History</label><br><br>