This document describes a simple HTML structure for a login page. The page allows users to log in using their username and password.
The login page is designed with a clean layout and includes a form where users can enter their credentials.
-
Head Section:
- Links to an external stylesheet (
style.css) for styling. - Sets the document character encoding to UTF-8 for proper text display.
- Includes a viewport meta tag for responsive design on various devices.
- Specifies compatibility with Internet Explorer.
- Contains an author meta tag.
- Links to an external stylesheet (
-
Body Section:
- Contains a form with the class
box, which styles the form element. - A heading (
<h3>) to indicate the purpose of the page. - Input fields for username and password:
- Username: A text input field with a placeholder indicating that it can be an email or name.
- Password: A password input field with a placeholder for the password.
- A button labeled "Log In" for submitting the form.
- A footer section displaying the server's name or handle.
- Contains a form with the class
<!DOCTYPE html>
<html>
<head>
<link rel='stylesheet' href='style.css'>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name='author' content='Log in'>
<title>Log in</title>
</head>
<body>
<form class='box'>
<h3>Login Here</h3>
<label for='Username'>Username</label>
<input type='text' placeholder='Email or Name' id='Email'>
<label for='Password'>Password</label>
<input type='password' placeholder='password' id='pass'>
<button>Log In</button>