Base href How to use the Basic tutorial base href usage

Source: Internet
Author: User
Often used in frame structure, such as the left and right two frames, the left side of the frame in the file is displayed in the frame. As long as the base tag is used to write its target property value to the right frame name, it is no longer necessary to specify the target property for each connection in the left-frame file.

Base href Tag Additional instructions:
1. When used, the BASE element must appear inside the HEAD of the document before any references to the external source.
2. This element is available in Microsoft Internet Explorer 3.0 's HTML and is available in Internet Explorer 4.0 scripts.
3. This element will not be rendered.
4, this element does not need to close the label.
5, the base tag is still useful, such as <base href= "_blank" > will make this page all the links on the new page open, so that you do not have at each link at the above target= "_blank".

Note in IE7:
1. No additional output characters can be added before 2, < base > is a link datum tag that changes the default values of all link tags in the file. It can only be adapted to the beginning of the file, which is between Mark < head > and


  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.