
<style type="text/CSS">@import url(/CSS/layout.CSS) all;</style>
和
<link href="/CSS/layout.CSS" type="text/CSS" static="all" rel="stylesheet">
浏览器的行为有何不同?
从w3c等推荐什么?
解决方法 有几个原因你应该使用< link>而不是@import,其中2个是:>使用@import可能会导致下载方式出现意外排序.
> @import可能会导致blank white screen problem.
有关网站性能的更多信息,请参阅High Performance Web Sites.
总结以上是内存溢出为你收集整理的html head for css tags之间的有效差异?:@import url vs. link href全部内容,希望文章能够帮你解决html head for css tags之间的有效差异?:@import url vs. link href所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)