gpt4 book ai didi

php - HTTP header 样式表

转载 作者:可可西里 更新时间:2023-11-01 13:23:19 24 4
gpt4 key购买 nike

根据这个:http://www.w3.org/TR/html4/present/styles.html#h-14.6我可以直接在 http header 中链接样式表。在 php 中它看起来像这样:

header('Link: <http://www.acme.com/corporate.css>; REL=stylesheet');

这样做有什么缺点吗?

最佳答案

主要缺点是它只能在 Firefox 和 Opera 中运行。参见 http://greenbytes.de/tech/tc/httplink/ .

关于php - HTTP header 样式表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8091996/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com