- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
绝对路径和相对路径(Absolute path and relative path)
绝对路径和相对路径(Absolute path and relative path)
For example, your ABC folder has two file 1 and 2
If you want to file 1 name file 2 position (or path), so it has two methods:
C:\ABC\2
This is an absolute path, specify the 2 files in the ABC file C, from the beginning of the largest directory of C express.
Two
This is a relative path, because the 1 files and 2 files are in C:\ABC, so the path in front of their C:\ABC are the same, do not say out.
Another parable:
For example, ABC folder has a 1 file, there is a DEF folder, and DEF file under a 2 file.
The 1 and 2 file path respectively: (both absolute path)
C:\ABC\1
C:\ABC\DEF\2
If the 1 files to represent the path of the 2 files
The absolute path: C:\ABC\DEF\2
Relative path: DEF\2 (because of the previous 1 and 2 files C:\ABC the same path would not have written out)
The page to the server, and it is always not to see the pictures, CSS style sheet failure error. This case is mostly because you use the wrong path, in place should use relative path using the absolute path, cause the browser cannot open the specified file in the specified location.
We are going to talk about the difference between relative and absolute path path for beginners the most headache.
What is the absolute path:
We all know that we usually use in the computer to find the required documents must know the location of the file, and the file location is the path, such as the sight of the path: c:/website/img/photo.jpg we know that the photo.jpg file is in the C website directory under the img subdirectory. This is similar to a complete description of the path for the file location is the absolute path. We dont need to know any other information you can determine the location of the file according to the absolute path. In the website similar to determine file location is the absolute path to /img/photo.jpg.
In addition, in the web application, we usually use / to indicate the root directory, /img/photo.jpg said the photo.jpg file in the site root direct
您可能关注的文档
- 申论思维(On thinking).doc
- 申论范文__怎样应对发展中的民营企业(I __ on how to deal with the development of private enterprises).doc
- 电力工程造价学习资料(Learning data of power engineering cost).doc
- 电力拖动自动控制系统课程设计(Course design of automatic control system for electric drive).doc
- 电力机车电力机车附挂(Electric locomotive attached to electric locomotive).doc
- 用注册表加速系统(Use registry to speed up the system).doc
- 生化3攻略(Biochemistry 3).doc
- 用户配置文件丢失或损坏后的恢复(Recovery of user profile after missing or corrupted).doc
- 电力电缆选用相关问题!(Problems related to power cable selection!).doc
- 电力机车发展(Development of electric locomotive).doc
- 给排水设计施工说明(Design and construction instructions for water supply and drainage).doc
- 绞车的检查维护及常见故障(Inspection, maintenance and common troubles of winches).doc
- 统一为什么赢不过康师傅(Unity, but won't win Master Kong).doc
- 统一规划加速铁路经济管理人才的培养 以适应当前实行大包干的需要(Unified planning to speed up the training of railway economic management personnel to meet the current needs of big package).doc
- 绝对是网盟最全面,最深入的网吧装机经验分析(Is the most comprehensive analysis of network, with the in-depth experience in Internet cafes).doc
- 统借自还主权外债会计核算暂行办法(Interim Measures for the accounting of foreign debts of the Autonomous Region).doc
- 给彼此一点空间(Give each other a little space).doc
- 统计学原理试题(Principles of Statistics).doc
- 继续深化国企改革 发展混合所有制(Continue to deepen the reform of state-owned enterprises and develop mixed ownership).doc
- 给追求我女朋友的男生的一封信(A letter to a boy who is after my girlfriend).doc
文档评论(0)