4)
<!DOCTYPE html>
<html>
<head>
<title>Registration Form</title>
<style>
body {
background-color: lightblue;
font-family: Arial;
h2 {
text-align: center;
color: navy;
font-size: 24px;
table {
background: white;
padding: 20px;
border-radius: 8px;
margin: auto;
box-shadow: 0 0 8px gray;
td {
padding: 8px;
font-size: 14px;
color: black;
input, select, textarea {
width: 100%;
padding: 8px;
font-size: 14px;
}
.btn {
background: green;
color: white;
border: none;
padding: 10px;
width: 100px;
.reset {
background: red;
</style>
</head>
<body>
<h2>Registration Form</h2>
<form>
<table>
<tr>
<td>First Name:</td>
<td><input type="text" required></td>
</tr>
<tr>
<td>Last Name:</td>
<td><input type="text" required></td>
</tr>
<tr>
<td>Email:</td>
<td><input type="email" required></td>
</tr>
<tr>
<td>Password:</td>
<td><input type="password" required></td>
</tr>
<tr>
<td>DOB:</td>
<td><input type="date"></td>
</tr>
<tr>
<td>Gender:</td>
<td>
<input type="radio" name="g"> Male
<input type="radio" name="g"> Female
</td>
</tr>
<tr>
<td>Country:</td>
<td>
<select>
<option>USA</option>
<option>Canada</option>
<option>UK</option>
<option>India</option>
</select>
</td>
</tr>
<tr>
<td>Bio:</td>
<td><textarea rows="3"></textarea></td>
</tr>
<tr>
<td colspan="2" style="text-align:center;">
<input class="btn" type="submit" value="Register">
<input class="btn reset" type="reset" value="Reset">
</td>
</tr>
</table>
</form>
</body>
</html>