海量收录 · 12,310+ 源码 / 模板 / 插件 / 教程,付款后立即下载 开通会员享折扣| 我的订单| 客服 QQ 923457156
前端开发教程

如何使用 CSS 指定文档语言内的目标媒体

2025-01-15 29 次浏览 免费资源

要指定目标媒体,请使用媒体属性 -

示例

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

免费下载无需付费,点击即可获取
去下载