CSS样式框模式的应用——自己手写的,值得一看
来源:互联网 发布:大话西游男鬼加点数据 编辑:程序博客网 时间:2024/06/03 20:48
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
tr{
background-color:#FFFFFF;
height:30px;
}
span{
color:red;
}
.l5{
margin-left:5px;
}
.r5{
padding-right:5px;
text-align:right;
}
.xh{
border:1px solid black;
}
</style>
</head>
<body>
<center>
<h2>请认真填写一下内容</h2>
<table border=0 style="margin-top:1cm;" cellspacing="1" bgcolor="#000000" width="500px">
<tr style="background-color:#0000FF; color:#FFFFFF; text-align:center;">
<td colspan="2">
用户注册(带<span>*</span>必填)
</td>
</tr>
<tr>
<td class="r5">用户名</td>
<td align="left">
<input class="l5 xh" type="text" /><span>*</span>(不得大于20个中文字)
</td>
</tr>
<tr>
<td class="r5">密码</td>
<td align="left">
<input class="l5 xh" type="password" /><span>*</span>
</td>
</tr>
<tr>
<td class="r5">重复密码</td>
<td align="left">
<input class="l5 xh" type="password" /><span>*</span>
</td>
</tr>
<tr>
<td class="r5">性别</td>
<td align="left">
<input class="l5" type="radio" name="sex" checked="checked" />男<input name="sex" type="radio" />女
</td>
</tr>
<tr>
<td class="r5">年龄</td>
<td align="left">
<select class="l5">
<option>10</option>
<option>20</option>
<option>30</option>
</select>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="reset" class="xh" style="margin-right:50px" value="重置"/>
<input type="submit" class="xh" value="注册"/>
</td>
</tr>
</table>
</center>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
tr{
background-color:#FFFFFF;
height:30px;
}
span{
color:red;
}
.l5{
margin-left:5px;
}
.r5{
padding-right:5px;
text-align:right;
}
.xh{
border:1px solid black;
}
</style>
</head>
<body>
<center>
<h2>请认真填写一下内容</h2>
<table border=0 style="margin-top:1cm;" cellspacing="1" bgcolor="#000000" width="500px">
<tr style="background-color:#0000FF; color:#FFFFFF; text-align:center;">
<td colspan="2">
用户注册(带<span>*</span>必填)
</td>
</tr>
<tr>
<td class="r5">用户名</td>
<td align="left">
<input class="l5 xh" type="text" /><span>*</span>(不得大于20个中文字)
</td>
</tr>
<tr>
<td class="r5">密码</td>
<td align="left">
<input class="l5 xh" type="password" /><span>*</span>
</td>
</tr>
<tr>
<td class="r5">重复密码</td>
<td align="left">
<input class="l5 xh" type="password" /><span>*</span>
</td>
</tr>
<tr>
<td class="r5">性别</td>
<td align="left">
<input class="l5" type="radio" name="sex" checked="checked" />男<input name="sex" type="radio" />女
</td>
</tr>
<tr>
<td class="r5">年龄</td>
<td align="left">
<select class="l5">
<option>10</option>
<option>20</option>
<option>30</option>
</select>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="reset" class="xh" style="margin-right:50px" value="重置"/>
<input type="submit" class="xh" value="注册"/>
</td>
</tr>
</table>
</center>
</body>
</html>
阅读全文
0 0
- CSS样式框模式的应用——自己手写的,值得一看
- 献给不知道自己该干什么的朋友—值得一看
- css样式的简单应用
- CSS的样式结合应用
- CSS样式的结合应用
- 手写自己的BufferedReader
- Thinking in Java——自己手写的代码
- 给自己的网站添加CSS样式
- 自己写的CSDN博客css样式
- 值得一看的文章——阳光心态
- 自己手写简单的ArrayList
- 30-CSS-07-CSS(CSS样式的结合应用)
- css样式中三角形的应用
- CSS样式中部分伪类选择器的应用
- css样式中 border的应用
- CSS——(CSS样式规则,CSS样式表单,选择器,常用的CSS属性)
- 打造先进的SOA应用 -- 很值得一看
- markdown的css样式(自己写的)
- LIN总线技术及应用——协议规范(一)
- Kafka总结
- 按钮变灰不可用
- vs2010利用map,cod文件定位崩溃代码行
- mysql yum 离线源拉取。
- CSS样式框模式的应用——自己手写的,值得一看
- 关于两个日期之间的
- 用MATLAB编写VIVADO的coe文件
- QThread 的moveToThread 结果并没有在子线程中运行
- 关于MATLAB界面语言的设置
- javascript事件处理机制---事件监听、捕获和冒泡
- 剑指offer21从上到下打印二叉树
- 欢迎使用CSDN-markdown编辑器
- Jmeter压测查看服务器性能