• Tools
  • Articles
  • Q&A
  • Login
0 0

a标签里href=//xxx.xxx.com这样不带协议头的写法有什么好处?


a标签里 href=//xxx.xxx.com 这样不带协议头的写法有什么好处?

http HTML

12 years, 3 months ago
CPPoE

CPPoE


share
CPPoE 12 years, 3 months ago

Answers

0

Protocol Relative Urls: http://blog.httpwatch.com/2010/02/10/using-protocol-relative-urls-to-switch-between-http-and-https/

cc http://segmentfault.com/q/1010000000368868#a-1020000000368912

answered 12 years, 3 months ago
CPPoE

Imzcjie


share
Imzcjie answered 12 years, 3 months ago

Your Answer

Ask Question
Related questions

关于客户端JS能否等比例压缩图片的请教

http 请求方式在哪设置

opera的remote debug

php如何用cURL模拟一表单中同时有字符串和文件?

node.js静态文件服务器回传HTML页面样式显示不正常

有没有办法使A网站上的链接跳转到B网站的同时不让B网站得知真实的referrer ?

Related posts

3D 素材 贴图 hdr 资源 汇总

MDX和MDD文件格式分析和操作