Base label usage

Xiaobian to share the use of the Base label, I believe that most people don’t know much, so share this article to everyone, I hope everyone has a big gain after reading this article, let us let us Go and find out!

Tags are all links on the page specify the default address or the default target. Usually, the browser extracts the corresponding elements from the URL of the current document to fill in the blank in the relative URL.
Use the
tag to change this. The browser will no longer use the current document URL, and use the specified basic URL to resolve all relative URLs. This includes the URL in , , , tag. Test:

1: The LINK path placed in front of the Base tag can use the relative path and is relative to the current path,

, but the LINK used behind it will be the relative path. The path specified relative to the base.

2: The relative path of the link in the BADY will be the path specified with the base label.
3: After using the Base default target, the subsequent open open mode will be opened in the manner, unless the rear display defines the open mode.
Summary: Base is actually defined a default address and default target. In the subsequent link elements will work

or more is all content of the Base tag, thank you for reading! I believe everyone has a certain understanding, I hope to share the content of everyone, if you want to learn more knowledge, please pay attention to Tumi Yun Industry News Channel!

© Copyright Notice
Just support it if you like
comment Grab the couch

Please log in to comment