天猫登录html代码,天猫静态页面
时间: 2023-09-09 19:08:05 浏览: 52
很抱歉,我作为语言模型,无法展现HTML代码。但是,以下是一个简单的天猫静态页面的HTML示例,其中包含一个基本的登录表单:
```html
<!DOCTYPE html>
<html>
<head>
<title>天猫登录页面</title>
</head>
<body>
<h1>欢迎来到天猫!</h1>
<form action="login.php" method="POST">
<label for="username">用户名:</label>
<input type="text" id="username" name="username"><br><br>
<label for="password">密码:</label>
<input type="password" id="password" name="password"><br><br>
<input type="submit" value="登录">
</form>
</body>
</html>
```
需要注意的是,这只是一个简单的示例,实际的天猫登录页面可能会更加复杂。
相关问题
天猫html+css代码
以下是一个简单的天猫静态页面的HTML和CSS示例,包括一个基本的登录表单和一些样式:
HTML代码:
```html
<!DOCTYPE html>
<html>
<head>
<title>天猫登录页面</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="container">
<h1>欢迎来到天猫!</h1>
<form action="login.php" method="POST">
<label for="username">用户名:</label>
<input type="text" id="username" name="username"><br><br>
<label for="password">密码:</label>
<input type="password" id="password" name="password"><br><br>
<input type="submit" value="登录">
</form>
</div>
</body>
</html>
```
CSS代码:
```css
#container {
margin: 0 auto;
width: 400px;
padding: 20px;
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 5px;
}
h1 {
text-align: center;
font-size: 32px;
margin-bottom: 30px;
}
form {
text-align: center;
}
label {
display: block;
font-size: 18px;
margin-bottom: 10px;
}
input[type="text"], input[type="password"] {
padding: 10px;
font-size: 18px;
border-radius: 5px;
border: 1px solid #ccc;
margin-bottom: 20px;
width: 100%;
box-sizing: border-box;
}
input[type="submit"] {
padding: 10px 20px;
font-size: 18px;
background-color: #f90;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
```
需要注意的是,这只是一个简单的示例,实际的天猫页面可能会更加复杂。
html代码静态页面
以下是一个简单的HTML静态页面的示例代码,使用了CSS+DIV布局:
```html
<!DOCTYPE html>
<html>
<head>
<title>静态页面示例</title>
<style>
.container {
width: 80%;
margin: 0 auto;
padding: 20px; background-color: #f2f2f2;
border: 1px solid #ccc;
}
.header {
background-color: #333;
color: #fff;
padding: 10px;
text-align: center;
}
.nav {
background-color: #f1f1f1;
padding: 10px;
text-align: center;
}
.nav a {
display: inline-block;
padding: 10px;
color: #333; text-decoration: none;
font-weight: bold;
}
.nav a:hover {
background-color: #333;
color: #fff;
}
.content {
padding: 20px;
text-align: justify;
}
.footer {
background-color: #333;
color: #fff;
padding: 10px;
text-align: center;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>静态页面示例</h1>
</div>
<div class="nav">
<a href="#">首页</a>
<a href="#">关于我们</a>
<a href="#">联系我们</a>
</div>
<div class="content">
<h2>欢迎来到我们的网站</h2>
<p>这是一个简单的静态页面示例,使用了CSS+DIV布局。</p>
<p>我们的网站提供各种有用的信息,包括新闻、文章、图片等。</p>
<p>请随时访问我们的网站,以获取最新的信息。</p>
</div>
<div class="footer">
<p>版权所有 © 2021 静态页面示例</p>
</div>
</div>
</body>
</html>
```