Untitled
unknown
plain_text
8 months ago
9.6 kB
6
Indexable
<!DOCTYPE html>
<html>
<head>
<title>Msg of the day</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
text-align: center;
margin: 50px;
}
h2 {
color: #333;
}
form {
background: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
display: inline-block;
}
table {
margin: auto;
}
td {
padding: 10px;
}
input[type="text"] {
width: 200px;
padding: 5px;
border: 1px solid #ccc;
border-radius: 5px;
}
input[type="submit"] {
background-color: #28a745;
color: white;
padding: 10px 15px;
border: none;
border-radius: 5px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #218838;
}
</style>
</head>
<body>
<h2>Fill your details</h2>
<form action="trp2.php" method="post">
<table>
<tr>
<td>Enter name:</td>
<td><input type="text" name="Name"/></td>
</tr>
<tr>
<td>Enter age:</td>
<td><input type="text" name="age"/></td>
</tr>
<tr>
<td>Enter hometown:</td>
<td><input type="text" name="town"/></td>
</tr>
<tr>
<td colspan="2">
<input type="submit" name="submit" value="Send"/>
</td>
</tr>
</table>
</form>
</body>
</html>
}
}
}
}
}
}
}
}Editor is loading...
Leave a Comment