用HTML+CSS做员工信息登记表

用HTML+做员工信息登记表

##首先看一下效果在这里插入图片描述
##下面是代码实现部分

<!DOCTYPE html>
<html>
<head>
	<title>biaodan</title>
	<style>
	.one{height: 20px;width:200px;}
	.two{height: 20px;width:100px;}
	.there{ margin-left: 29px;}
	.four{margin-left: 140px;}
	h1{text-align: center;}
	body{background-color:pink;}

	</style>
	
</head>
<body>
	<h1>员工信息登记表</h1>
	用户登录名: <input type="text" name="fname" class="one" placeholder="jhl@163.com" /><br>
	真实信息:<input type="text" name="sign" class="one there" placeholder="江翰林" />(必填,只能输入汉字)</br>
	真实年龄:<input type="number" name="age" min="0" max="150"  class="one there " />(必填)</br>
    出生日期:<input type="date" name="date" class="one there "  />(必填)</br>
	电子邮件:<input type="email" name="email" class="one there" placeholder="123987@126.com"/>(必填)</br>
	省份证号:<input type="text" name="number1" class="one there  " />(必填,能够以数字,字母x结尾的身份证号)</br>
    手机号码:<input type="text" name="number" class="one there " />(必填)</br>
    幸运颜色:<input type="color"  class="there two " />(请选择你喜欢的颜色)</br>
 <input type="submit"class="two four"/>  <input type="reset"  value="重置" class="two four"/>
</body>
</html>

直接复制到以.html结尾 的文件,运行即可得到上面网页图片。

  • 1
    点赞
  • 25
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
员工应聘登记表是一种用于收集员工应聘信息的表单,通常由HTMLCSS和DIV等前端技术来实现。下面是一个简单的员工应聘登记表HTML+CSS+DIV示例: HTML代码: ```html <!DOCTYPE html> <html> <head> <title>员工应聘登记表</title> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <div class="container"> <h1>员工应聘登记表</h1> <form> <div class="form-group"> <label for="name">姓名:</label> <input type="text" id="name" name="name" required> </div> <div class="form-group"> <label for="email">邮箱:</label> <input type="email" id="email" name="email" required> </div> <div class="form-group"> <label for="phone">电话:</label> <input type="tel" id="phone" name="phone" required> </div> <div class="form-group"> <label for="resume">简历:</label> <input type="file" id="resume" name="resume" accept=".pdf,.doc,.docx" required> </div> <div class="form-group"> <label for="cover-letter">求职信:</label> <textarea id="cover-letter" name="cover-letter" required></textarea> </div> <button type="submit">提交</button> </form> </div> </body> </html> ``` CSS代码(style.css): ```css .container { max-width: 500px; margin: 0 auto; padding: 20px; } h1 { text-align: center; } .form-group { margin-bottom: 10px; } label { display: block; } input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; padding: 5px; } button[type="submit"] { display: block; margin: 10px auto; } ``` 以上代码实现了一个简单的员工应聘登记表,包括姓名、邮箱、电话、简历和求职信等字段,并添加了一些基本的样式。你可以根据需要进行修改和扩展。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值