Commit 6ef0f127 authored by Fabian Dewantara Santonie's avatar Fabian Dewantara Santonie 🕊

Menambahkan Bootstrap pada Latihan 3 JSP

parent 8dcd8e14
......@@ -2,64 +2,27 @@
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Audiowide">
<style>
body {
font-family: "Audiowide", sans-serif;
}
input[type=text], select {
width: 50%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type=password], select {
width: 50%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type=submit] {
width: 50%;
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 4px;
cursor: pointer;
}
input[type=submit]:hover {
background-color: #45a049;
}
div {
border-radius: 5px;
background-color: #f2f2f2;
padding: 20px;
}
</style>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<form action="/belajarJavaServlet_Fabian/Latihan3" method ="POST">
<h1>Masukan Username dan Password</h1><br>
<label for="username">Username :</label><br>
<input type="text" id="username" name="username" placeholder="Username..."><br>
<label for="password">Password :</label><br>
<input type="password" id="password" name="password" placeholder="Password..."><br><br>
<input type="submit" value="Login">
</form>
<div align="center">
<h1>Masukan Username dan Password</h1>
<form action="/belajarJavaServlet_Fabian/Latihan3" method ="POST">
<table style="with: 70%">
<tr>
<td>Username</td>
<td><input type="text" id="username" name="username" placeholder="Username..."></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" id="password" name="password" placeholder="Password..."></td>
</tr>
</table>
<input type="submit" value="Login">
</form>
</div>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment