In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
What are the types of HTML file paths? most people do not understand the knowledge points of this article, so the editor summarizes the following contents, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this article, "what are the types of HTML file paths?"
Absolute file path
Absolute file path refers to the absolute location under the directory, directly to the target location, is the real path of the file or directory on the home page on the hard disk, usually from the drive letter; it can specify the full URL address.
Example:
one
two
three
Use the full URL file path
Effect picture:
Relative file path
Relative file path refers to the path relationship with other files (or folders) caused by the path where this file is located, which can specify files related to the current page; using relative file path can bring a lot of convenience.
Here are a few examples of relative file paths:
Example 1: how to point to a 1.jpg file located in the same folder as the HTML file, such as:
You can reference the path
one
Example 2: how to point to the 1.jpg file located in the img folder of the current directory, for example:
You can reference the path as follows:
one
Example 3: when the 1.html file and 1.jpg file are in two folders in the same directory, for example:
You can reference the path as follows:
one
The effect of these three examples is the same, and the effect is as follows:
The above is about "what are the types of HTML file paths?" the content of this article, I believe we all have a certain understanding, I hope the editor to share the content to help you, if you want to know more related knowledge, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.