什么是 HTML 4 媒体说明符
有人可以向我解释一下什么是 HTML 4 媒体说明符吗?有文档解释这一点吗?
Can some one explain to me what HTML 4 media specifiers are? Is there docs that explain this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
好吧,你的意思是
媒体描述
来自 http://htmlhelp.com/reference/html40/values.html
首先我以为您在询问内容类型,例如 text/html、image/jpeg、audio/mpeg、video/quicktime、text/css 和 text/javascript。
请参阅http://www.iana.org/assignments/media-types/index。 html
OK, you mean
MediaDesc
from http://htmlhelp.com/reference/html40/values.html
At first I thought you were asking about CONTENT types, like text/html, image/jpeg, audio/mpeg, video/quicktime, text/css, and text/javascript.
See http://www.iana.org/assignments/media-types/index.html
它们告诉您可以在什么类型的屏幕等上查看内容。例如,有
print
介质,您可以在其中定义打印内容的外观(以便您可以删除多余的颜色等)。我希望这有帮助。
They tell what type of screen etc. the content is viewable on. For example there is the
print
media where you can define what the printed content looks like (so you can remove excess colors etc.).I hope this helps.
我不熟悉你所说的上下文,但也许有人用它来引用 CSS 媒体类型(或在一个教程中进行了解释)?
每个评论的更新答案:
媒体查询在规范 和 https://developer.mozilla.org/En/CSS/Media_queries
但是关键是这些在 HTML4 中并不全部可用,因此请参阅上面的媒体类型列表。
I'm not familiar with the context you're speaking of, but maybe someone is using it to refer to CSS media types (or explained in one tutorial)?
UPDATED ANSWER PER COMMENT:
Media queries are explained in the specification and at https://developer.mozilla.org/En/CSS/Media_queries
But the point is that these were not all available in HTML4, so see the list of media types above.