Introduction to the use of html base tag target=_parent

Introduction to the use of html base tag target=_parent
The <base> tag specifies the default address or default target for all links on a page. Normally, browsers fill in the blanks in relative URLs by extracting the corresponding elements from the URL of the current document. use

The <base> tag can change this. The browser will then resolve all relative URLs using the specified base URL instead of the current document's URL. This includes URLs in <a>, <img>, <link>, and <form> tags. Quote 2: Target is the target page that you jump to after clicking the link.

In layman's terms, the links <a> on your current page, including <img>, <link>, and <form>, will be opened in _self (this page) according to the provisions of <base target="_self"> unless you specify a target, such as <a heft="" target="_blank">link one</a>. The base target="" can also be top, _blank, parent or other frame names.

<<:  Implementation steps for docker deployment of springboot and vue projects

>>:  Detailed explanation of styles in uni-app

Recommend

How to connect to MySQL database using Node-Red

To connect Node-red to the database (mysql), you ...

js implements clock component based on canvas

Canvas has always been an indispensable tag eleme...

How to generate a unique server-id in MySQL

Preface We all know that MySQL uses server-id to ...

How to use Tencent slider verification code in Vue3+Vue-cli4 project

Introduction: Compared with traditional image ver...

JavaScript object-oriented class inheritance case explanation

1. Object-oriented class inheritance In the above...

Graphical introduction to the difference between := and = in MySQL

The difference between := and = = Only when setti...

Drawing fireworks effect of 2021 based on JS with source code download

This work uses the knowledge of front-end develop...

Mybatis paging plug-in pageHelper detailed explanation and simple example

Mybatis paging plug-in pageHelper detailed explan...

Example of how to configure cross-domain failure repair in nginx

Nginx cross-domain configuration does not take ef...

How to use JSZip compression in CocosCreator

CocosCreator version: 2.4.2 Practical project app...

MySql import CSV file or tab-delimited file

Sometimes we need to import some data from anothe...

Summary of the use of Datetime and Timestamp in MySQL

Table of contents 1. How to represent the current...

About debugging CSS cross-browser style bugs

The first thing to do is to pick a good browser. ...

Detailed explanation of MySQL covering index

concept If the index contains all the data that m...