下载此文档

CSS应用于页之内部定义style元素.doc


文档分类:IT计算机 | 页数:约13页 举报非法文档有奖
1/13
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/13 下载此文档
文档列表 文档介绍
02- 应用于页之内部定义 style 元素一<html> <head> <title> 无标题文档</title> <style type="text/css"> <!-- a:link{color:#000000; font-size:16px; text-decoration:none;} /* 未访问过的链接*/ a:hover{color : #FF0000; font-size:16px; text-decoration:underline;} /* 鼠标经过的链接*/ a:active{color:#0000ff; font-size:16px; text-decoration:none;} /* 激活的链接*/ a:visited{color:#000000; font-size:16px; text-decoration:none;} /* 访问过的链接*/ --> </style> </head> <body> <table cellpadding="0" cellspacing="0" border="0"><tr><td><a href="" target="_blank"> 雅虎</a></td></tr></style> </body> </html> 02- 应用于页之内部定义 style 元素二<html> <head> <title> 无标题文档</title> <style type="text/css"> <!-- .he a:link{color:#000000; font-size:16px; text-decoration:none;} /* 未访问过的链接*/ .he a:hover{color : #FF0000; font-size:16px; text-decoration:underline;} /* 鼠标经过的链接*/ .he a:active{color:#0000ff; font-size:16px; text-decoration:none;} /* 激活的链接*/ .he a:visited{color:#000000; font-size:16px; text-decoration:none;} /* 访问过的链接*/ --> </style> </head> <body> <table cellpadding="0" cellspacing="0" border="0"><tr><td class="he"><a href="" target="_blank"> 雅虎</a></td></tr> <tr><td class="he"><a href="" target="_blank"> 百度</a></td></tr> </style> </body> </html> 如何通过伪类这种特殊的类选择符来对链接的不同状况下的链接样式定义, 并且可以定义多种的链接样式。 02- 应用于页之内部定义 style 元素三<html> <head> <title> 无标题文档</title> <style type="text/css"> <!-- .he a:link {color:#000000; font-size:16px; text-decoration:none;} /* 未访问过的链接*/ .he a:hover {color : #FF0000; font-size:16px; text-decoration:underline;} /* 鼠标经过的链接*/ .he a:active {color:#0000ff; font-size:16px; text-decoration:none;} /* 激活的链接*/ .he a:visited {color:#000000; font-size:16px; text-decoration:none;} /* 访问过的链接*/ .she a:link {color:#006600; font-size:16px; text-decoration:none;} .she a:hover {color : #FF0000; font-size:16px; text-decoration:underline;} .she a:active {color:#00099ff; font-size:16px; text-decoration:none;} .she a:visited {color:#FF6600; font-size:16px; text-decoration:none;} --> </style> </head> <body> <table cellpadding=

CSS应用于页之内部定义style元素 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数13
  • 收藏数0 收藏
  • 顶次数0
  • 上传人xdin8hgr8
  • 文件大小127 KB
  • 时间2017-05-17