要指定目标媒体,请使用媒体属性 -
示例
<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 指定文档语言内的目标媒体的详细内容,更多请关注双恒网络其它相关文章!