300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > html a标签黑体 css实现简单的注册表单验证代码 – html – 前端 css怎么创建

html a标签黑体 css实现简单的注册表单验证代码 – html – 前端 css怎么创建

时间:2019-09-22 17:55:34

相关推荐

html a标签黑体 css实现简单的注册表单验证代码 – html – 前端 css怎么创建

1.新建html文档。

2.书写hmtl代码。

<div class=”form-div”>

<form id=”reg-form” action=”” method=”post”>

<table>

<tr>

<td>用户名</td>

3.书写css代码。

* { margin: 0; padding: 0; list-style-type: none; }

a, img { border: 0; }

body { font: 16/180% Arial, Helvetica, sans-serif, “微软雅黑”, “黑体”; background: #

4.代码整体结构。

5.查看效果。

css常见字体样式?

样式一:

body {undefined

margin: 0;

padding: 0;

line-height: 1.5em;

font-family: "Times New Roman", Times, serif;

font-size: 14px;

color: #000000;

background: #f2e7ca url(images/templatemo_body.jpg) top center no-repeat;

}

样式二:

body {undefined

background:#2f373a;

font-family:Arial,Helvetica,sans-serif;font-size:100%;

line-height:1em;color:#4e4e4e;

min-width:920px;

border-top:10px solid #0c0e0e

}

样式三:

body {undefined

font-family:Arial,Helvetica,sans-serif;

font-size:1em;

vertical-align:middle;

font-weight:normal

}

样式四:

body

{undefined

margin:0px;

padding:0px;

background-color:#E7EAEB;

font-family:"微软雅黑","黑体","宋体";

font-size:12px;

height:36px;

}

样式五:

body

{undefined

font: .8em Arial, Tahoma, Verdana;

background: #fff url(../images/bg.gif) repeat-x;

color: #777;

}

样式六:

body

{undefined

width:auto; margin-top:12px;

float:right; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;

font-size:11px;

color:#999999;

line-height:25px;

letter-spacing:1px

}

样式七:

body

{undefined

width:auto;

margin-left:1px;

float:left;

font-family:Arial, Helvetica, sans-serif;

font-size:13px;

color:#5f5f5f;

line-height:35px;

text-transform:uppercase

}

样式八:

body {undefined

background: #e1e5e8;

font-family: "Georgia", Tahoma, Sans-Serif;

font-size: 12px;line-height: 18px;

color: #888;

}

样式九:

body

{undefined

width:130px; height:20px;

background:url(images/servicesbg.gif) 0 0 repeat-x #68EF00;

color:#317400;

font:18px/14px Georgia, "Times New Roman", Times, serif;

margin:34px 0 0 37px;

}

样式十:

body

{undefined

display:block;

width:94px;

height:20px;

background: url(images/serviceslink1bg.gif) 0 72% no-repeat #6DFD00;

color:#01699F;

font:13px/20px Georgia, "Times New Roman", Times, serif; text-decoration:none;

}

样式十一:

body {undefined

margin: 0;

padding: 0;

line-height: 1.5em;

font-family: Georgia, "Times New Roman", Times, serif;

font-size: 12px;color: #33322e;background: #39443D url(images/templatemo_body_bg.jpg) repeat-x;

/* background: #47443c url(images/templatemo_body_bg_2.jpg) repeat-x; */

}

样式十二:

body {margin: 0;padding: 0;line-height: 1.5em;font-family: Tahoma, Geneva, sans-serif;font-size: 12px;color: #6f6f6f;

background: #2ac5c0 url(images/templatemo_body_top.jpg) repeat-x;

}

样式十三:

body {undefined

margin: 0;

padding: 0;

line-height: 1.5em;

font-family: Verdana, Geneva, sans-serif;font-size: 11px;

color: #ffffff;background: #005b7f;

}

样式十四:

body {undefined

margin: 0;

padding: 0;

line-height: 1.7em;

font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;

font-size: 12px;color: #333333;

background: #000000 url(images/templatemo_main_bg.jpg) repeat-y center;

}

样式十五:

body {undefined

margin: 0;

padding: 0;

line-height: 1.7em;

font-family: Verdana, Geneva, sans-serif;

font-size: 12px;color: #707b84;

background: #3e464d;

}

样式十六:

body {undefined

margin: 0;

padding: 0;

line-height: 1.7em;

letter-spacing: 1px;

font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;

color: #333;

background: #e1d1d6 url(images/templatemo_body.png) repeat-x top;

}

样式十七:

body {undefined

margin: 0;

padding: 0;

line-height: 1.7em;

letter-spacing: 1px;

font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;

color: #333;

background: #e1d1d6 url(images/templatemo_body.png) repeat-x top;

}

样式十八:

body

{undefined

background:url(images/bg.gif) repeat #000000;

padding:0; font-family:arial, sans-serif; font-size:12px;

margin:0px auto auto auto;

color:#36322b;

}

样式十九:

body

{undefined

margin:0px;

padding:0px;

background:url(images/mainbg.gif) 0 0 repeat-x #F6F4E4;

color:#6B6854;

font:14px/18px "Trebuchet MS", Arial, Helvetica, sans-serif;

}

样式二十:

body

{undefined

font-family:Georgia;

font-family:Arial;

}

能分享你的手写字体吗?

自古以来,人们常说书画不分家,会画画就会书法,因为国画大部分都需要题跋钦章。但多年来老朽对书法下的功夫很浅,只是满足绘画需要或过年写点对联而己,后来学会木版刻字也是简单临写现成作品以满足刻字的需求。年青时自学建筑设计和水电暖卫的设计又练了下仿宋字,也是满足工作需要,但成名后也从不给人题字。盛情难却,为了应邀答题,在照片中选了几幅设计图上的字或木刻临摹的字,展现给亲们,看到网上那些书法家们的字写的太好了!偶的字羞于拿出,实在是现丑了!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。