What Is an Absolute Address?
The absolute address of the memory (Absolute Address) refers to an address scheme in communication, computer, and data processing systems. This address directly identifies a storage unit without using related media, such as a base station address or related address.
- Chinese name
- Absolute address
- Foreign name
- Absolute Address
- Meaning
- Address scheme
- For example
- A base station address or related address
- The absolute address of the memory (Absolute Address) refers to an address scheme in communication, computer, and data processing systems. This address directly identifies a storage unit without using related media, such as a base station address or related address.
Introduction to absolute addresses
- Absolute address
- Absolute addresses on the Internet are composed of IP4 rules. There are a total of 4 groups of numbers from 0 to 255, separated by "." Signs. The format is XXX.XXX.XXX.XXX. The website can directly reach the landing page through this address, including the main domain name and directory address.
- In data transmission and storage, the storage unit of the main memory is in bytes. Each storage unit has an address corresponding to it. Assuming that the capacity of the main memory is n, the main memory has n storage units (n Byte storage space), its address number is: 0,1,2, ..., n-1. The address number of the main memory space is called the absolute address of the main memory, and the main memory space corresponding to the absolute address is called the physical address space.
- Relative address
- A relative address is an address used when addressing relative to a reference quantity (usually using zero as the reference quantity). Relative addresses are often used in the process of writing and compiling programs. Because programs need to be placed in main memory before they can be executed, instructions and data must be associated with an absolute address in main memory-placed in main memory units. However, in a multi-program system, the main memory will store multiple jobs, so it is impossible for a programmer to know where his program will run in the main memory, which means that the programmer cannot use absolute addresses to program. Therefore, the program is often written relative to a certain reference address and the locations of instructions and data are arranged. At this time, the relative address is used, so the relative address is an address system used in program writing and compilation.
- 1. If possible, add directly in front of that function.
- 2. Or, delete the function and write the absolute address directly. (The consequence of this is that the content needs to be manually modified when the content changes) 3. Many times, there is no way to use absolute addresses for all links, but as long as the main navigation and columns, the absolute address can be used for the header and footer. Others can be handled flexibly.
Absolute address comparison
- law
- The column mark and row number added with the absolute reference character "$" are absolute addresses, and will not change when the formula is copied to the side. The column mark and row number that match the absolute address are not added, and are next to the formula. Changes occur when copying. Some addresses changed when mixing references.
Example of an absolute address
Absolute address relative address
- A1, A2, B1, B2, ...
- Features: Relative address references are used in formulas, and the reference address (value) in the formula copy process varies with location; for example, "= A1" in C1 is copied to C2, and the formula will automatically become "= A2". , The formula becomes "= B1", which shows that the relative reference is in the formula copy-horizontal copy variable column number, vertical copy variable line number.
Absolute address
- $ A $ 1, $ A $ 2, $ B $ 1, $ B $ 2, ...
- Features: Absolute address references are used in formulas, and reference addresses (values) remain unchanged during formula copying. For example, "= $ A $ 1" copied to any location in C1 is "= $ A $ 1".
Absolute address mixed address
- $ A1, $ A2, B $ 1, B $ 2, ...
- Features: Use mixed references in formulas, $ A1, $ A2 only have row numbers when copying formulas vertically, such as "= $ A1" in C1 is copied to C2, formula is changed to "= $ A2", and copying to D1 still It is "= $ A1", that is, a mixed reference of the form "$ A1, $ A2" "changs the line number horizontally". However, B $ 1 and B $ 2 are just the opposite. In the formula replication, "the column number changes vertically".
- Familiar with the characteristics of various references copied in formulas will effectively improve the accuracy of formula editing.
Absolute address page
- In the production of webpages, there are absolute addresses and relative addresses when locating referenced resources or CSS. An absolute address is the absolute coordinate or address of the resource, while a relative address is the address of the resource relative to a known resource.
- Absolute address: The absolute address in the network refers to the absolute address of the resource on the Internet. This address can directly reach the target webpage through any website. Contains the primary domain name and directory address.
- Relative address: refers to the address of an object (usually relative to the website root directory for a website) and has nothing to do with whether it is on this machine. Web page addresses that contain only local paths. Addresses usually use "/" and "../" to indicate hierarchical relationships.
Absolute address storage
- The storage unit of the main memory uses bytes as the addressing unit, and each storage unit has an address corresponding to it. The address number of the main memory space is called the absolute address of the main memory, and the main memory space corresponding to the absolute address is called the physical address space.
SEO Absolute address SEO
- First, when you do intra-site links, use absolute addresses. For example, the link anchor text of the long-tail keyword uses the absolute address: http: //www.***.cn/***.html . When this article is reprinted or crawled by Rss reader, the link is Will change. Conversely, if you use the relative address: /***.html , then this article may be reprinted to other websites, it may become: other website domain name /***.html .
- Second, each link on the homepage must use an absolute address. Especially for some independent IP websites, using absolute addresses can prevent websites from being mirrored by other domain names. If the homepage of www. ***. Cn uses relative addresses, then when there are other domain names pointing to the IP address of this site, from the search engine and user perspective, the content of that site and this site are exactly the same. After using the absolute address on the homepage, the user first clicks to the www. ***. Cn domain name.
Absolute address link
- Relative link, absolute link
- Relative links, relative paths refer to URLs that do not include the domain name of the homepage of the website, but use a command that returns a file to get the website to a page or return to the homepage; and absolute links are complete URLs that contain the domain name of the homepage, with The link between http and www specifies a certain URL.
- Which is better for seo
- Relative link code is simple and easy to use, but it can easily lead to the existence of broken links and invalid links. So the best solution is to use absolute links, which can avoid all the potential problems mentioned above, and is the best way to make the links really work. In the process of optimizing the internal links of the site, it is also recommended that you use absolute links to do it.
- the difference
- It's easy to move content relative to links, without having to update links on other pages. Testing on the server is easier, the code is simple, and spider crawling is easier; but if the page moves, the relative link may be an invalid link!
- Absolute links can standardize the URL. Sometimes the website with www and without www will make the webmaster upset, and then the absolute path will play a role. When the page is moved, the full URL can be used normally, but the absolute link will affect the spider crawl speed compared to the relative link.
Absolute address setting
- <li> <a class="sy" href="your domain name> <span> absolute address </ span> </a> </ li>
- <li> <a href='Your domain/seo/'> <span> Site optimization </ span> </a> </ li>
- <li> <a href='Your domain/web/'> <span> Site building </ span> </a> </ li>
- <li> <a href='Your domain name/news/'> <span> News Center </ span> </a> </ li> (set here as an absolute address)
- <li> <a href='/about.html'> <span> About us </ span> </a> </ li> (not set to an absolute address here)
- <li> <a href='/contact.html'> <span> Contact us </ span> </a> </ li> (not set to an absolute address here)