div{
margin: 0 auto;/*容器相对于页面剧中*/
font-size: 16px;
font-family: "微软雅黑";
text-align: center;/*容器中的内容相对容器居中*/
text-indent: 2em;/*首行缩进*/
font-weight: 400;
background-color: #BCD68D;
white-space: nowrap;/*不换行*/
overflow: hidden;/*清除超出部分*/
text-overflow: ellipsis;/*超出部分用省略号表示*/
}
span{
font-style: italic;
}
#font{
font-family:"BOOMBOX";
}
@font-face {
font-family:"BOOMBOX";
src: url(css/BOOMBOX.TTF);
}
</style>
</head>
<body>
<div>
把准政治方向,是讲政治之要;坚定政治信念,是讲政治之魂;提升 政治能力,是讲政治之本;确保政治过硬,是讲政治之基。 2、着眼“政治忠诚”建好长效机制,着眼“ 政治定力 ”深化思想武装,着眼“政治能力”强化政治历练,着眼“ 政治担当 ”考准政治表现。 。<span>222</span>3、不辱使命的政治担当,改革创新的政治勇气,善谋全局的政治智慧,狠抓落实的政治定力
</div>
<div id="font">hello world</div>
<div>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
a{
display: block;
color: black;
text-decoration: none;
}
a:nth-child(1){
background-color: #E66B14;
}
a:nth-child(2){
background-color: #248CA8
}
a:nth-child(3){
background-color: #DC2D00;
}
a:nth-child(4){
background-color: #747474;
}
a:nth-child(5){
background-color: #D3C294;
}
a:nth-child(6){
background-color: #9B49EA;
}
</style>
</head>
<body>
<a href="#">空连接</a>
<a href="xx.html">项目内部链接</a>
<a href="top">锚记</a>
<a href="mailto">发邮件</a>
<a href="js脚本">js脚本</a>
<a href="https//">链接</a>
</body>
</html>