1、HTML表单

<body  rightmargin="50" leftmargin="50" background="未标题-1.jpg">
<from>
<table border="0" cellspacing="3" align="center">
<tr>
<td>邮箱:</td>
<td><input type="text" name=""/></td>
</tr>
<tr>
<td></td>
<td><font size="-3" color="#999999">需要通过邮箱激活账户,不支持sohu,21cn,sogou的邮箱</font></td>
</tr>
<tr>
<td>登陆用户名:&nbsp;&nbsp;</td>
<td><input type="text"></td>
</tr>
<tr>
<td></td>
<td><font size="-3" color="#999999">仅在登录时使用,字符数不少于4个</font></td>
</tr>
<tr>
<td>显示名称;&nbsp;&nbsp;</td>
<td><input type="text"></td>
</tr>
<tr>
<td></td>
<td><font size="-3" color="#999999">即昵称,字符数不少于2个</font></td>
</tr>
<tr>
<td>密码;</td>
<td><input type="password"></td>
</tr>
<tr>
<td><label>确认密码</label>;</td>
<td><input type="password"></td>
</tr>
<tr>
<td></td>
<td><font size="-3" color="#999999">至少8位,必须包含字母,数字,特殊字符</td>
</tr>
<tr>
<td>性别:</td>
<td><input type="radio" name="sex" checked="checked" value="男">男&nbsp;&nbsp;
<input type="radio" name="sex" value="女" >女</td>
</tr>
<tr>
<td>喜好:</td>
<td><select size="1" >
<option selected="selected">听音乐</option>
<option>打篮球</option>
<option>逛街</option>
<option>摄影</option>
</select>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="注册"></td>
</tr>
</table>
</from>
</body>

2、 CSS样式

<link href="Untitled-3.css" rel="stylesheet" type="text/css" />
</head> <body>
<p>和谐的关系会让你心情舒畅,,但人生总不可能事事顺畅</p>
<div id="n">遇事少些抱怨多些宽容和理解,未来的道路就会更通透些</div>
你的人生路<span class="m">上不<p>乏贵人,善待</p>他人的自</span>己机遇便会随处可见。
<p class="abc">将梦想致力于行动,努力赢得更多人的尊重,用心观察生活,</p>
细节上的改变预示着转机即将发生。
<a href="http://www.baidu.com" target="_blank">百度一下</a>
<a class="j" href="http://www.qq.com" target="_blank">腾讯qq</a>
<a href="../1130/Untitled-4.html" target="_blank">你妈逼</a>
</body> /*css文件*/ <style type="text/css">
{ margin:0px;
padding:0px;}
p
{
font-size:36px;
color:#0F9;
}
#n
{
font-size:18px;
color:#303; }
a:link
{ color:#000;
text-decoration:none}
a:visited
{ color:#C00;
text-decoration:none}
a:hover
{ color:#0C0;
text-decoration:underline;}
a:active
{ color:#FF6;
}
.m
{ font-size:50px;
color:#00F}
p,div
{ font-size:20;
color:#306;}
.m p
{ color:#CF9;
font-size:60px;} p.abc
{ font-size:30px;
color:#F00;
text-decoration:underline;} a.j:link/*将多个链接设置成不同风格*/
{ text-decoration:underline;
color:#600}
a.j:visited
{ color:#300;
text-decoration:underline;}
a.j:hover
{ color:#CCC;
text-decoration:none;}
a.j:active
{ color:#000;} </style>

HTML表单 CSS样式的更多相关文章

  1. 28. 表单css样式定义格式

    form>table>tbody>tr>td{padding:5px;font-size:14px;font-family:"Microsoft YaHei" ...

  2. css修改input表单默认样式重置与自定义大全

    链接地址: 伪元素表单控件默认样式重置与自定义大全 http://www.zhangxinxu.com/wordpress/?p=3381 Chrome 现在不支持通过伪元素修改 meter 元素样式 ...

  3. BootStrap的table表格,栅格系统,form表单的样式

    BootStrap BootStrap的简介 1.    什么是Bootstrap 由两个前端设计师开发的一个前端的框架(Html,css,js) 简化了程序员写css的代码 2.    为什么使用B ...

  4. 0522 HTML表单 CSS基础

    一.列表标签 列表标签分为三种. 1.无序列表<ul>,无序列表中的每一项是<li> 英文单词解释如下: ul:unordered list,“无序列表”的意思. li:lis ...

  5. 【译】HTML表单高级样式

    系列文章说明 原文 在本文中,我们将了解如何在HTML表单上使用CSS,为那些难于自定义的表单组件加以样式.如前文所述,文本框和按钮很适合使用CSS,而现在我们得来探索HTML表单样式的那些坑了. 在 ...

  6. 2014.9.16HTML表单CSS

    (一)表格 合并单元格(少用) (合并列) 1.先选中要合并的2个或多个单元格,然后点击以下图标 代码:<td colspan="2"> </td> 2.设 ...

  7. ios下表单disabled样式重置

    在做最近的一个活动项目时,需要用到表单的disabled状态,但是在IOS下那颜色不是一般的浅,就跟没有一样,一开始通过如下样式重置: input:disabled, input[disabled]{ ...

  8. 最新版本Firefox表单css兼容性

    场景描述: 为了在各浏览器上传控件保持统一的风格,用隐藏“浏览控件”的方式,在最新版本的Firefox下隐藏的“浏览”按钮漂移了. 问题分析: HTML代码: <form class=" ...

  9. validform.js+layer.js 表单验证样式

    $("#formAdd").Validform({ tiptype: function (msg, o, cssctl) { if (o.type == 3) {//失败 laye ...

随机推荐

  1. ZOJ Problem Set - 1730 Crazy Tea Party

    #include<cstdio> int main(){ int T,n; scanf("%d",&T); while(T--){ scanf("%d ...

  2. Kubernetes 弹性伸缩全场景解析 (一)- 概念延伸与组件布局

    传统弹性伸缩的困境 弹性伸缩是Kubernetes中被大家关注的一大亮点,在讨论相关的组件和实现方案之前.首先想先给大家扩充下弹性伸缩的边界与定义,传统意义上来讲,弹性伸缩主要解决的问题是容量规划与实 ...

  3. 微信小程序--帮助选择困难症者

    用户登录小程序成功后,通过传来的code获取openid,后端用的是PHP //获取code值换取openid public function code_weixin(Request $request ...

  4. 【mac】ansible安装及基础使用

    安装 环境释放 mac 10.12.5 #more /System/Library/CoreServices/SystemVersion.plist 安装命令 #ruby -e "$(cur ...

  5. python装饰器2:类装饰器

    装饰器1:函数装饰器 装饰器2:类装饰器 装饰器3:进阶 本文是装饰器相关内容的第二篇,关于类装饰器. "类装饰器"有两种解读方式:用来装饰类的装饰器:类作为装饰器装饰其它东西.你 ...

  6. 翻译:replace into语句(已提交到MariaDB官方手册)

    本文为mariadb官方手册:REPLACE INTO的译文. 原文:https://mariadb.com/kb/en/replace/ 我提交到MariaDB官方手册的译文:https://mar ...

  7. python安装第三方库的最简单方式

    一.准备工作 (只做一次准备工作,以后都会很方便) 1. 安装pip (1)下载pip到D:\download pip下载地址:https://pypi.python.org/pypi/pip#dow ...

  8. eclipse中使用pull报错(git提交冲突)

    1.工程->Team->pull:报错 解决方案: 2.工程->Team->Syschronize Workspace: 3.在左侧会将有冲突的代码列举出来:(可选操作:在其上 ...

  9. 了解golang的可变参数(... parameters),这一篇就够了

    在实际开发中,总有一些函数的参数个数是在编码过程中无法确定的,比如我们最常用的fmt.Printf和fmt.Println: fmt.Printf("一共有%v行%v列\n", r ...

  10. 第一册:lesson thirty one。

    原文:Where is Sally? A:Where is .. B? B:She is in the garden,A. A:What's she doing? B:She is sitting u ...