html 页面中的 base href 和 target

  1. 它只能应用于标记<head></head>之间
  2. href:网页上的所有相对路径在链接时都将在前面加上基链接指向的地址。
  3. target:—设定文件显示的窗口,同a标记中的target

原文地址:https://www.cnblogs.com/jarod99/p/10030154.html