Link 元素上的媒体属性指定外部样式表的目标媒体 -
示例
<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>
以上就是如何指定一组 CSS 规则的目标媒体类型的详细内容,更多请关注双恒网络其它相关文章!