html——个人信息网页

今天花了一晚上的时间,使用html编写了一个简单的个人信息网页。

注:不知道为什么代码上传的时候空格符&nbsp都不见。

<html>
  <head>
    <meta charset=utf-8">
    <tille>个人信息</title>
	<style type="text/css">
        h1{
    font-size:30px;
    color:#930;
    text-align:center;
        }
        </style>
  </head>
  
  <body> 
  
     <h1>个人信息</h1>
     
	 <form method="post"  action="www.baidu.com">
        <p>
		   <lable for="username"> 姓 名:</label>
		      <input type="text" name="" id="username"></p>
        <p>
		  <lable for="password"> 密 码:</label>
		     <input type="password" name=""id="password"></p>
		<p>
		  <lable for="introduce"> 个人描述:</label>
		  <textarea name="commet"rows=5 cols=60  id="introduce">
		  </textarea></p>
		<p>
		   性 别:   <input type="radio" name="性别">男
		    <input type="radio" name="性别">女</p>
	    <p>
		   年 级:   <select name="nianji">
		     <option>one
			 <option>two 
			 <option>three
			 <option>four
			 <option selected>one
			 </select></p>
		<p>
		     爱 好:   <input type="checkbox"name="sport">运动
			<input type="checkbox"name="music">音乐
			    <input type="checkbox"name="movie">电影
			<input type="checkbox"name="read">阅读</p>
		<p>
	     文 件:   <input type="file" name="filename"></p>
		<p>
        <input type="submit"value="提交">
          <input type="reset"value="清空"></p>
     </form>
  
  </body>
  
 </html>
  • 15
    点赞
  • 85
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值