2017年9月11日

1.表单

<form id=" "  name=" " method="post/get" action="负责处理的服务端">  id不可以重复

文本输入

   文本框<input type="txt" name=" " id=" " value=" " / >

   密码框<input type="password" name=" " value= " " / >

   文本域<texttarea name=" " id=" " cols="字符多少" rows=" " 几行高><textarea>

   隐藏域<input type=" hidden" name=" " id=" " value=" " />

按钮

 提交按钮<input type="submit" name=" " id=" " disabled="disabled" value=" " / >点击后转到form内

 重置按钮<input type="reset" name=" " id=" " disabled="disabled" value=" " />

 普通按钮<input type="button" name=" " id=" " disabled="disabled" value=" " />

 图片按钮<input type="image" name=" " id=" " disabled="disabled" src="图片地址"/>

根据这些我自己做了一个

<center><h1>注册</h1></center>
<meta charset="utf-8" />
<title>QQ注册</title>
</head>
<body>
<table width="1250px" height="600px" background="img/qiwa.jpg" >
<tr>
<td>
<form action="https://ssl.zc.qq.com/v3/index-chs.html"method="post">
<center>账号:<input type="text"
name="C1" placeholder="用户名/ID/手机号" maxlength="11"/>
</center>
<p></p>
<center>密码:<input type="password" placeholder="请输入密码" name="C2"/></center>
<center><input type="radio" name="I" id="23145" value="1" />男
<input type="radio" checked="checked" name="I" id="2314" value="0" />女</center>
<center><input type="submit" value="注册"/><br /></center>
<p></p>
<p></p>
<center><input type="checkbox" value="3" name="o1"checked="checked"
/>空间开通选项<br />
<p></p>
<input type="checkbox" name="o1" value="4"checked="checked"
/><a href="js/xieyi.txt" style="text-decoration: none;"/> 我已阅读同意各种协议<br /></center>
<p></p>
<p></p>
<p></p>
<center>
<a href="http://music.163.com/#/song?id=2866921&autoplay=true&market=baiduhd"
style="text-decoration: none;">
点开看看</a></center>

</td>
</tr>
</table>

 有喜欢的可以试一下

posted @ 2017-09-11 22:11  氏张  阅读(110)  评论(0编辑  收藏  举报