很多站长朋友们都不太清楚html登陆界面怎么做,今天小编就来给大家整理html登陆界面怎么做,希望对各位有所帮助,具体内容如下:
本文目录一览: 1、 怎么用html做一个系统登录界面文本框前有小图案 2、 html登录页面怎么做 3、 如何用HTML写一个最简单的登录界面? 4、 html网页设计:一个简单的登录界面代码! 5、 html怎么做登录注册页面 6、 用html代码编写一个简单的登陆界面 怎么用html做一个系统登录界面文本框前有小图案可以用html进行程序编写,从而实现系统登陆界面文本框前有小图案的需求。
可参照以下代码为模板进行编写:完整的代码1: 代码2
html是超文本标记语言(英语:HyperText Markup Language,简称:HTML)是一种用于创建网页的标准标记语言。您可以使用 HTML 来建立自己的 WEB 站点,HTML 运行在浏览器上,由浏览器来解析。
html登录页面怎么做这是上课时老师演示的代码,只是前端的代码
<!DOCTYPE html>
<html>
<head>
<title>login.html</title>
<title>登录</title>
<link rel="stylesheet" type="text/css" href="./CSS/login.css">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
</head>
<body>
<div id="container">
<h1 id="title">小菊花爱心书店</h1>
<div id="information">
<form action="first.html">
<div id="box">
账号:<input type="text" name="keyName">
<br>
密码:<input type="password" name="userPass">
<br>
<input id="B" class="button1" type="submit" name="buyer" value="login">
<br>
<a href="register.html">立即注册</a>
</div>
</form>
</div>
</div>
</body>
</html>
------------------------------------------------
css文件
------------------------------------------------
@CHARSET "GB2312";
body{
background-image:url(img/login.jpg);
background-size: cover;
margin: 0;
padding: 0;
}
#container{
height:500px;
width:400px;
background-color:#D2B571;
border-radius: 10px;
margin: 100px auto;
position:relative;
box-shadow:2px 2px 10px #888888;
}
h1{
text-align: center;
padding-top:50px;
color: white;
}
#information{
background-color: #F5F4F2;
height: 350px;
width:400px;
position:absolute;
margin-top: 10px;
}
#box{
width:200px;
margin-left: 100px;
margin-top: 60px
}
input{
display: block;
width: 200px;
padding-top:5px;
height:35px;
border: 1.5px solid #eee;
border-radius:10px;
background-color:#F4F8FF;
}
.button1 {
height:35px;
margin-top: 20px;
padding: 5px 15px;
text-align: center;
background-color: #F48951;
color: white;
border: 0px;
border-radius:10px;
box-shadow:2px 2px 10px #888888;
}
.button1:hover {
background-color: white;
color: #F48951;
border: 1.5px solid #F48951;
}
button{
width:90px;
position:absolute;
top:70px;
}
button:hover {
width:90px;
position:absolute;
top:62px;
}
如何用HTML写一个最简单的登录界面?<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link href="main.css" type="text/css" rel="stylesheet">
<title>登陆界面</title>
</head>
<body>
<div class="login_ico">
<img src="/data/upload/help/202211/19/58e19b4b96105f38aeefcc918cf01720.png">
</div>
<div class="login_putin">
<ul>
<li><input type="text" ></li>
<li><input type="password" ></li>
</ul>
</div>
<div class="login_btn">
<input type="submit" value="登陆">
</div>
</body>
</html>
样式 :
*{
margin:0;
padding:0;}
li{
list-style-type:none;
margin:0;
padding:0;}
a{
text-decoration:none;
color:#000;}
/*---------------------按钮-----------------------------*/
.login_putin ul li input{
margin: 0;
width:70%;
padding: 1em 2em 1em 5.4em;
-webkit-border-radius:.3em;
-moz-border-radius: .3em;
border: 1px solid #999;
}
.login_btn{
width:300px;
margin:40px auto 0 auto;
}
.login_btn input{
width:100%;
margin:0;
padding:.5em 0;
-webkit-border-radius:.3em;
-moz-border-radius: .3em;
border:#1263be solid 1px;
background:#1b85fd;
color:#FFF;
font-size:17px;
font-weight:bolder;
letter-spacing:1em;
}
.login_btn input:hover{
background:#1263be;
}
html网页设计:一个简单的登录界面代码!<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link href="main.css" type="text/css" rel="stylesheet">
<title>登陆界面</title>
</head>
<body>
<div class="login_ico">
<img src="/data/upload/help/202211/19/58e19b4b96105f38aeefcc918cf01720.png">
</div>
<div class="login_putin">
<ul>
<li><input type="text" ></li>
<li><input type="password" ></li>
</ul>
</div>
<div class="login_btn">
<input type="submit" value="登陆">
</div>
</body>
</html>
样式 :
*{
margin:0;
padding:0;}
li{
list-style-type:none;
margin:0;
padding:0;}
a{
text-decoration:none;
color:#000;}
/*---------------------按钮-----------------------------*/
.login_putin ul li input{
margin: 0;
width:70%;
padding: 1em 2em 1em 5.4em;
-webkit-border-radius:.3em;
-moz-border-radius: .3em;
border: 1px solid #999;
}
.login_btn{
width:300px;
margin:40px auto 0 auto;
}
.login_btn input{
width:100%;
margin:0;
padding:.5em 0;
-webkit-border-radius:.3em;
-moz-border-radius: .3em;
border:#1263be solid 1px;
background:#1b85fd;
color:#FFF;
font-size:17px;
font-weight:bolder;
letter-spacing:1em;
}
.login_btn input:hover{
background:#1263be;
}
html怎么做登录注册页面<form action = "a.html" method = "post">
用户名:<input type = "text" name = "username" id = "username">
<br>
密码:<input type = "password" name = "password" id = "password">
<br>
<input type = "submit" id = "submit" value = "登录">
</form>
用html代码编写一个简单的登陆界面<!DOCTYPE html><html lang="zh-CN"><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>登录</title>
<link href="css/bootstrap.min.css" rel="stylesheet"></head><body><nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="./">jsp作业</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="login.html">登录</a></li>
</ul>
</div>
</div></nav><div class="container">
<div class="row">
<div class="col-md-4">
</div>
<div class="col-md-4">
<form class="form-signin" target="submitFrame" method="post">
<strong class="form-signin-heading">登录到jsp作业</strong>
<label for="inputEmail">Email</label>
<input type="email" id="inputEmail" class="form-control" placeholder="请输入Email" required autofocus><br>
<label for="inputPassword">密码</label>
<input type="password" id="inputPassword" class="form-control" placeholder="请输入密码" required>
<div class="checkbox">
<label>
<input type="checkbox" value="remember-me" checked="checked"> 记住密码 </label>
</div>
<button type="submit" class="btn btn-primary" id="btn-login">登录</button>
<a href="reg.html" class="btn btn-default">注册</a>
</form>
<iframe style="display: none;" name="submitFrame" src="about:blank"></iframe>
</div>
<div class="col-md-4">
</div>
</div>
<script src="js/jquery.min.js"></script></body></html>
关于html登陆界面怎么做的介绍到此就结束了,不知道本篇文章是否对您有帮助呢?如果你还想了解更多此类信息,记得收藏关注本站,我们会不定期更新哦。
查看更多关于html登陆界面怎么做 html制作登录界面的详细内容...