【问题】
在WLW中拖入本地图片文件,然后调试过程中,选中对应图片,看到获得的对应的html源码中,图片地址是这样的:
href="file:///C:/Users/CLi/AppData/Local/Temp/WindowsLiveWriter1627300719/supfiles52F410/wangdan-se-436963[2].jpg">
即使一个file加上一个冒号,再跟着三个斜杠的形式。
想要搞懂这种写法的确切含义。
【解决过程】
1.搜“C# file colon three slash”找到这里:
http://bytes.com/topic/html-css/answers/154018-href-file-c-temp-target-_blank-c-temp-does-not-work-ie-anymore
提到了说是file protocol,所以猜测估计是和http和ftp等价的某种file协议。
2.那就是和C#无关,那就去搜“file protocol colon three slash”,然后找到:
http://www.urbandictionary.com/define.php?term=protocol%20sec