1、求一个网页设计的html作业 有一个登陆页一个注册页一两个子页就可以,简单的交作业用的。
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>php 登录与注册 </title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="http://libs.baidu.com/jquery/1.9.1/jquery.js"></script>
</head>
<body>
<div id="div">
<h3>欢迎登陆后台管理系统</h3>
<div id="cnt">
<form method="post" action="main.php">
用户名:<input type="text" placeholder="请输入用户名" name="username">
<br><br>
密 码:<input type="password" placeholder="请输入密码" name="password">
<br><br>
<input type="submit" value="登录" class="sub">
<input type="button" value="注册" class="sub" id="sub">
</form>
</div>
</div>
<script>
$("#sub").click(function(){
location.href="reg.php";
});
</script>
</body>
</html>
css样式
#div{width:300px;height:400px;
background:#B1FEF9;margin:0 auto;margin-top:150px;
border-radius:20px;
}
h3{margin-left:48px;padding-top:60px;}
h4{margin-left:120px;padding-top:60px;font-size: 18px;}
#cnt{width:280px;height:370px;margin-left:33px;padding-top:60px;}
.sub{width:70px;height:30px;border:1px solid #fff;background:#eee;
margin-left:28px;margin-top:20px;}
这个网上很多的,可以去下载嘛,这是我自己以前写的,想写的话也是很简单的了,php中文网上有很多实例,可以参考的,希望能对你有帮助,谢谢!
2、网页制作中登陆界面设计代码
<%@language=vbscript codepage=936 %>
<%
option explicit
'强制浏览器重新访问服务器下载页面,而不是从缓存读取页面
Response.Buffer = True
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
'主要是使随机出现的图片数字随机
%>
<html>
<head>
<title>管理员登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="Admin_Style.css">
<script language=javascript>
function SetFocus()
{
if (document.Login.UserName.value=="")
document.Login.UserName.focus();
else
document.Login.UserName.select();
}
function CheckForm()
{
if(document.Login.UserName.value=="")
{
alert("请输入用户名!");
document.Login.UserName.focus();
return false;
}
if(document.Login.Password.value == "")
{
alert("请输入密码!");
document.Login.Password.focus();
return false;
}
//if (document.Login.CheckCode.value==""){
// alert ("请输入您的验证码!");
// document.Login.CheckCode.focus();
// return(false);
}
}
</script>
</head>
<body onLoad="SetFocus();">
<p> </p>
<form name="Login" action="Admin_ChkLogin.asp" method="post" target="_parent" onSubmit="return CheckForm();">
<table width="300" border="0" align="center" cellpadding="5" cellspacing="0" class="border" >
<tr class="title">
<td colspan="2" align="center"> <strong>管理员登录</strong></td>
</tr>
<tr>
<td height="120" colspan="2" class="tdbg">
<table width="250" border="0" cellspacing="8" cellpadding="0" align="center">
<tr>
<td align="right">用户名称:</td>
<td><input name="UserName" type="text" id="UserName2" size="23" maxlength="20"></td>
</tr>
<tr>
<td align="right">用户密码:</td>
<td><input name="Password" type="password" size="23" maxlength="20"></td>
</tr>
<tr>
<td align="right">验 证 码:</td>
<td><input name="CheckCode" size="15" maxlength="6">
1109 </td>
</tr>
<tr>
<td colspan="2"> <div align="center">
<input type="submit" name="Submit" value=" 确认 ">
<input name="reset" type="reset" id="reset" value=" 清除 ">
<br>
</div></td>
</tr>
</table>
</td>
</tr>
</table>
<p align="center">后台管理页面需要屏幕分辨率为 <font color="#FF0000"><strong>1024*768</strong></font>
或以上才能达到最佳浏览效果!<br>
需要浏览器为<strong><font color="#FF0000"> </font></strong><font color="#FF0000"><strong>IE5.5</strong></font>
或以上版本才能正常运行!!!</p>
</form>
</body>
</html>
3、html网页设计:一个简单的登录界面代码!
<input
type='button'
text='登陆'
onclick='return
checknull()'>你说的要能识别是否输入了用户名和密码!需要用脚本来验证
<script>
function
checknull()
{
var
a=document.getElementById('用户名文本框ID').text;
var
b=document.getElementById('密码文本框ID').text;
if(a.length>0&&b.length)
return
true;
else
return
false;
}
<script>
4、html网页设计:一个简单的登录界面代码!
是这样的效果吗?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>3</title>
<script>
function r()
{
var username=document.getElementById("username");
var pass=document.getElementById("password");
if(username.value=="")
{
alert("请输入用户名");
username.focus();
return;
}
if(pass.value=="")
{
alert("请输入密码");
return;
}
return true;
}
</script>
</head>
<body>
<form>
<table width="350" bgcolor="#ccffcc" style="border-color" border="1">
<tr align=center>
<td>用户名</td><td><input type="text" name="username" id="username"></td>
</tr>
<tr align=center><td>密 码</td><td><input type="password" name="password" id="password"></td></tr>
<tr align=center><td>验证码</td><td><input type="text" name="yanzheng"></td></tr>
<tr align=center><td colspan="2"><input type="button" value="登 录" onclick="r();"/> <input type="reset" value="重 置"/></td></tr>
</table>
</form>
</body>
</html>
5、HTML网页设计:一个简单的登录界面可以连接到数据库记录的代码
如下参考:
1.首先,在您的计算机桌面上创建一个新文件夹,然后在该文件夹中创建一个新的文本文档。
2.然后用记事本双击打开文本文档,如下图所示,然后编写一个简单的HTML代码。
3.点击“另存为”功能选项,显示默认的“另存为”代码为ANSI。
4.我们将把编码和文件名更改回图中所示的图像并保存它。
5.然后回到新创建的文件夹,找到一个额外的HTML文件。
6.最后,使用浏览器打开HTML文件。结果如图所示。
6、网页设计的登陆界面问题
CSS是一种方法,Macromedia Dreamweaver 8做也可以,用布局页面来绘制表格的位置你想放哪就放哪很随意的专!通属过表格的布局你的问题就很好解决了如果你不会用的话这有布局页面教程希望可以帮到你http://www.pqshow.com/index/dw.html
在第二章里。。。。。
7、javascript html 设计一个登录界面
注册页面代码:
登录页面代码:
以上代码使用了WEB SQL,还请选择合适的浏览器查看。
8、网站的登录页面应该怎么设计
网站的登录页面要求简单、干净;主要展示用户名、密码;下面就有个注册和忘记密码,以这样的形式来展示就可以了。
9、网页必须有三个一定有的,分别是(主页,注册页,登陆页)。。弄一个网页设计,然后写毕业设计,
其实就是很简单的一个网站..网页必须有三个一定有的,分别是(主页,注册页,登陆页)
10、asp网页设计中,怎么实现用户登录,并且登陆状态保持在当前页面,类似于这种
html5以前是不可能实现,html页面之间的参数传递,但是现在可用localStorage或者sessionStorage来实现,百度下就有了。