html css伪元素选择器
来源:互联网 发布:js解析url中的参数 编辑:程序博客网 时间:2024/05/16 10:10
<!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=gb2312" />
<title>无标题文档</title>
<style type="text/css">
/*访问前*/
a:link {
background-color: #000000;
color: #3399FF;
font-size:18px;
}
/*访问后*/
a:visited {
background-color: #CCFF00;
color: #6699FF;
font-size: 12px;
text-decoration:line-through;
}
/*悬停时*/
a:hover {
background-color: #CCFF00;
color: #6699FF;
font-size: 12px;
}
/*点击时*/
a:active {
background-color: #66CCFF;
color: #FFFFFF;
font-size: 16px;
}
/* L V H A为点击后恢复原状态*/
</style>
</head>
<body>
<a href="http://www.sina.com.cn" target="_blank">hello workd </a>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
/*访问前*/
a:link {
background-color: #000000;
color: #3399FF;
font-size:18px;
}
/*访问后*/
a:visited {
background-color: #CCFF00;
color: #6699FF;
font-size: 12px;
text-decoration:line-through;
}
/*悬停时*/
a:hover {
background-color: #CCFF00;
color: #6699FF;
font-size: 12px;
}
/*点击时*/
a:active {
background-color: #66CCFF;
color: #FFFFFF;
font-size: 16px;
}
/* L V H A为点击后恢复原状态*/
</style>
</head>
<body>
<a href="http://www.sina.com.cn" target="_blank">hello workd </a>
</body>
</html>
阅读全文
0 0
- html css伪元素选择器
- CSS伪元素选择器
- CSS-伪元素选择器
- CSS 伪元素选择器
- Css的伪元素选择器
- CSS伪元素,伪类选择器
- css伪类、伪元素选择器
- CSS选择器和伪类、伪元素
- CSS选择器 伪类及伪元素
- CSS伪类、伪元素选择器
- CSS选择器之【伪类/元素选择器】
- html系统学习之五 <CSS用法,选择器,伪类,伪元素>
- html css层叠样式基础(后代和子代元素选择器,伪类选择器)(四)
- CSS选择器:属性选择器+后代选择器+子元素选择器+相邻兄弟选择器+伪类+伪元素
- css伪类选择器与伪元素选择器区别
- CSS中选择器以及伪类和伪元素选择器
- html元素 css样式 选择器
- CSS伪元素选择器:before与:after
- spring boot之端口设置和contextpath的配置
- 让java从Mysql返回多个ResultSet
- 欧拉线性筛模板
- 用邻接矩阵求无向图的连同分支数
- mysql数据库存储过程(细)-------游标的应用
- html css伪元素选择器
- 从输入网址到返回页面经过了这些过程
- Professional JS(13.4.7HTML5 /device/Touch/Gesture Event/Memory&Performance/Simulating Events/Canvas)
- 【死磕Java并发】-----J.U.C之阻塞队列:PriorityBlockingQueue
- 贝塞尔曲线
- python+eclipse环境搭建
- java eclipse安装
- SSH框架的项目执行流程
- Codeforces Round #426 (Div. 2)-A. The Useless Toy