Skip to content

Instantly share code, notes, and snippets.

@ahmadshobirin
Created October 12, 2019 05:05
Show Gist options
  • Save ahmadshobirin/a16b07ce989baf7204abb7837cf4b0bd to your computer and use it in GitHub Desktop.
Save ahmadshobirin/a16b07ce989baf7204abb7837cf4b0bd to your computer and use it in GitHub Desktop.
form-register aslab
<!DOCTYPE html>
<html lang="en">
<head>
<title>Tugas Pertama HTML</title>
</head>
<style>
#register-form{
margin: 0 auto;
width: 350px;
}
.input-form{
margin-bottom: 3px;
padding: 8px;
width: 100%;
border: 1px solid #ccc;
}
#input-name{
border: 1px solid red;
}
button{
padding: 10px;
}
</style>
<body>
<h3 align="center">Form Pendaftaran</h3>
<form id="register-form" class="form-register">
<input class="input-form" id="input-name" type="text" placeholder="Nama..."/>
<input class="input-form" type="text" placeholder="Username..."/>
<input class="input-form" type="password" placeholder="Password..."/>
<input class="input-form" type="password" placeholder="Konfirmasi Password..."/>
<button type="button">Daftar</button>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment