可以帮我生成一个创新创业系统登陆界面的html代码嘛?
时间: 2024-05-09 22:18:29 浏览: 7
可以的,以下是一个简单的创新创业系统登陆界面的HTML代码示例:
```html
<!DOCTYPE html>
<html>
<head>
<title>创新创业系统登陆界面</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
background-color: #f2f2f2;
font-family: Arial, sans-serif;
}
.container {
max-width: 400px;
margin: 0 auto;
text-align: center;
}
h1 {
color: #4CAF50;
}
input[type=text], input[type=password] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}
button {
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
}
button:hover {
opacity: 0.8;
}
.error {
color: #f00;
}
</style>
</head>
<body>
<div class="container">
<h1>创新创业系统登陆界面</h1>
<form action="" method="post">
<label for="username">用户名:</label>
<input type="text" id="username" name="username" required>
<label for="password">密码:</label>
<input type="password" id="password" name="password" required>
<button type="submit">登陆</button>
</form>
<p class="error">用户名或密码错误,请重新输入。</p>
</div>
</body>
</html>
```
请注意,这只是一个简单的示例,实际项目中需要根据具体要求进行修改和优化。