CSS学习2-各种标签设置2
来源:互联网 发布:网络抓包分析工具 编辑:程序博客网 时间:2024/06/06 02:25
/*---------------------------------------------------链接---------------------------------------------------*/
a:link {color:#000000;} /* 未访问链接*/
a:visited {color:#00FF00;} /* 已访问链接 */
a:hover {color:#FF00FF;} /* 鼠标移动到链接上 */
a:active {color:#0000FF;} /* 鼠标点击时 */
a:hover 必须跟在 a:link 和 a:visited后面
a:active 必须跟在 a:hover后面
/*修饰*/
a:link {text-decoration:none;}
a:visited {text-decoration:none;}
a:hover {text-decoration:underline;}
a:active {text-decoration:underline;}
/*背景颜色*/
a:link {background-color:#B2FF99;}
a:visited {background-color:#FFFF85;}
a:hover {background-color:#FF704D;}
a:active {background-color:#FF704D;}
h3{color:red;text-align:center;text-decoration:overline;text-transform:uppercase;text-indent:50px;font-style:italic;}
CSS_ID{color:red;text-align:center;text-decoration:overline;text-transform:uppercase;text-indent:50px;font-style:italic;}
(前面可加标签,限制影响范围).CSS_class{color:red;text-align:center;text-decoration:overline;text-transform:uppercase;text-indent:50px;font-style:italic;}
</style>
</head>
<body>
<!---------------------------------------------------文本--------------------------------------------------->
<center>
<h1>aaAAAAAaaa</h1>
<h2>bbBBBBbbbb</h2>
<p>cccCCCCCccc</p>
<h3>ddddddddddddddddddddd</h3>
<h1 id = "CSS_ID">eeeeeeeeeeeeeeeeeeeeee</h1>
<h1 class = "CSS_class">ffffffffffffffffffffffff</h1>
<a href="test2.html" target="_blank">baidu<a/>
</center>
</body>
</html>
a:link {color:#000000;} /* 未访问链接*/
a:visited {color:#00FF00;} /* 已访问链接 */
a:hover {color:#FF00FF;} /* 鼠标移动到链接上 */
a:active {color:#0000FF;} /* 鼠标点击时 */
a:hover 必须跟在 a:link 和 a:visited后面
a:active 必须跟在 a:hover后面
/*修饰*/
a:link {text-decoration:none;}
a:visited {text-decoration:none;}
a:hover {text-decoration:underline;}
a:active {text-decoration:underline;}
/*背景颜色*/
a:link {background-color:#B2FF99;}
a:visited {background-color:#FFFF85;}
a:hover {background-color:#FF704D;}
a:active {background-color:#FF704D;}
h3{color:red;text-align:center;text-decoration:overline;text-transform:uppercase;text-indent:50px;font-style:italic;}
CSS_ID{color:red;text-align:center;text-decoration:overline;text-transform:uppercase;text-indent:50px;font-style:italic;}
(前面可加标签,限制影响范围).CSS_class{color:red;text-align:center;text-decoration:overline;text-transform:uppercase;text-indent:50px;font-style:italic;}
</style>
</head>
<body>
<!---------------------------------------------------文本--------------------------------------------------->
<center>
<h1>aaAAAAAaaa</h1>
<h2>bbBBBBbbbb</h2>
<p>cccCCCCCccc</p>
<h3>ddddddddddddddddddddd</h3>
<h1 id = "CSS_ID">eeeeeeeeeeeeeeeeeeeeee</h1>
<h1 class = "CSS_class">ffffffffffffffffffffffff</h1>
<a href="test2.html" target="_blank">baidu<a/>
</center>
</body>
</html>
阅读全文
0 0
- CSS学习2-各种标签设置2
- CSS学习2-各种标签设置1
- html css基础学习-1-各种标签基础
- css设置标签背景
- HTML+CSS标签 (2)
- HTML+CSS标签 (2)
- CSS基础学习2-CSS设置颜色与背景
- HTML&CSS基础学习笔记1.20-DIV标签2
- css标签导航学习
- 设置struts2各种标签在同一行
- HTML+CSS学习 DAY1标签
- css+div设置标签和按钮
- html-css设置标签样式不起作用原因
- html标签怎么使用CSS设置宽度?
- CSS的标签模式设置Display属性
- html和CSS学习笔记(2):标签和html文件基本结构
- HTML学习-2-标签
- HTML标签学习2
- SQL Injection(3)
- 开发一个手机短信验证码功能是一种怎样的体验?
- ionic2 学习笔记(三)
- sudo: cd: command not found
- RNN循环神经网络
- CSS学习2-各种标签设置2
- Shader Forge 参数详解
- iOS 本地通知的实现
- 目前使用过的芯片
- 小白的第一篇个人博客(今天工作中所遇到的小问题)
- JAVA发起Http和Https的POST/GET请求
- php操作redis方法详解
- django的html继承
- 图的遍历(深度递归遍历,深度非递归遍历,广度递归遍历)