html5_d登陆界面_注册界面

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function validate()
{
var username=document.getElementById("username").value
var passward=document.getElementById("password").value

}
/*
function onclick()
{
<a href="second.html" />
}

function clickNextPage(){
window.location.reload("second.html");
}
document.getElementById('nextPage').addEventListener("click",clickNextPage);
*/
</script>

<style>
div
{
border:1px solid black;
padding: 35;

width:240px;
height:100px;

background:green;
position:relative;

-webkit-transition-duration:1s;
-webkit-animation:myfirst 5s linear 2s infinite alternate;
<!-- box-shadow: 10px 10px 5px #888888 -->
}

div:hover{
-webkit-transform:duration(2s);
-webkit-transform:rotate(180deg);
}
</style>

</head>
<label>hahah</label>
<body>

<div>
<form align="center">
UserName:<input type="text" name="UserName" id="username"/>
<br>
Password: <input type="password" name="password" id="password" />
</form>
</div>
<form >
<input type="submit" value="Login" id="login" />
<input type="button" value="signup" onClick="window.open('second.html');" />
<!--<button id="nextPage"> Singup </button>-->
</form>
</body>
</html>

 

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function validate()
{
var username=document.getElementById("username").value
var passward=document.getElementById("password").value

}
</script>
<style>
div
{
border:1px solid black;
padding: 35;
width:240px;
height:300px;
background:red;
box-shadow: 10px 10px 5px #888888
}

}
</style>
</head>
<label>hahah</label>
<body>

<div>
<form align="right">
UserName:<input type="text" name="UserName" id="username"/>
<br>
Email: <input type="email" name="Email" id="email" />
<br>
Password:<input type=“password” name="Password" id="password">
<br>
Mobil:<input type="Mobil" name="Mobil" id="mobil">
<br>
</form>
</div>
<form action="/example/hdom/hdom_submitpage.html" onsubmit="return validate()">
<input type="submit" value="Login" id="login" />
<input type="submit" value="signup" id=""signup/>
</form>
</body>
</html>

posted @   wjwdive  阅读(391)  评论(0编辑  收藏  举报
编辑推荐:
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· AI 智能体引爆开源社区「GitHub 热点速览」
· Manus的开源复刻OpenManus初探
· 写一个简单的SQL生成工具
点击右上角即可分享
微信分享提示