1<!DOCTYPE html>
2<html>
3<head>
4<meta name="viewport" content="width=device-width, initial-scale=1">
5<style>
6body {
7 font-family: Arial, Helvetica, sans-serif;
8 background-color: black;
9}
10
11* {
12 box-sizing: border-box;
13}
14
15/* Add padding to containers */
16.container {
17 padding: 16px;
18 background-color: white;
19}
20
21/* Full-width input fields */
22input[type=text], input[type=password] {
23 width: 100%;
24 padding: 15px;
25 margin: 5px 0 22px 0;
26 display: inline-block;
27 border: none;
28 background: #f1f1f1;
29}
30
31input[type=text]:focus, input[type=password]:focus {
32 background-color: #ddd;
33 outline: none;
34}
35
36/* Overwrite default styles of hr */
37hr {
38 border: 1px solid #f1f1f1;
39 margin-bottom: 25px;
40}
41
42/* Set a style for the submit button */
43.registerbtn {
44 background-color: #4CAF50;
45 color: white;
46 padding: 16px 20px;
47 margin: 8px 0;
48 border: none;
49 cursor: pointer;
50 width: 100%;
51 opacity: 0.9;
52}
53
54.registerbtn:hover {
55 opacity: 1;
56}
57
58/* Add a blue text color to links */
59a {
60 color: dodgerblue;
61}
62
63/* Set a grey background color and center the text of the "sign in" section */
64.signin {
65 background-color: #f1f1f1;
66 text-align: center;
67}
68</style>
69</head>
70<body>
71
72<form action="/action_page.php">
73 <div class="container">
74 <h1>Register</h1>
75 <p>Please fill in this form to create an account.</p>
76 <hr>
77
78 <label for="email"><b>Email</b></label>
79 <input type="text" placeholder="Enter Email" name="email" required>
80
81 <label for="psw"><b>Password</b></label>
82 <input type="password" placeholder="Enter Password" name="psw" required>
83
84 <label for="psw-repeat"><b>Repeat Password</b></label>
85 <input type="password" placeholder="Repeat Password" name="psw-repeat" required>
86 <hr>
87 <p>By creating an account you agree to our <a href="#">Terms & Privacy</a>.</p>
88
89 <button type="submit" class="registerbtn">Register</button>
90 </div>
91
92 <div class="container signin">
93 <p>Already have an account? <a href="#">Sign in</a>.</p>
94 </div>
95</form>
96
97</body>
98</html>
99