LINK 元素上媒体属性的作用
原创
LINK 元素上的 media 属性指定外部样式表的目标媒体 -
示例
<style> <!-- <!doctype html public "-//w3c//dtd html 4.0//en"> <html> <head> <title>link to a target medium</title> <link rel="stylesheet" type="text/css" media="print, handheld" href="foo.css"> </head> <body> <p>the body... </body> </html> --> </style>
以上就是LINK 元素上媒体属性的作用的详细内容,更多请关注IT视界其它相关文章!
上一篇:如何使用 CSS 将段落元素显示为内联? 下一篇:CSS的作用:无效的选择器