<!DOCTYPE html>
<html>
<head>
<title>Login Page</title>
</head>
<body>
<h1>Login</h1>
<form action="">
<label for="username">Username:</label>
<input type="text" id="username" name="username"><br><br>
<label for="password">Password:</label>
<input type="password" id="password" name="password"><br><br>
<input type="submit" value="Submit">
</form>
</body>
</html>
Explanations: This code creates a form with two fields: a text field for the username and a password field for the password. The action attribute in the form tag specifies where the form data will be sent when the form is submitted. In this case, it is left empty, so the data won't be sent anywhere.