Home > Article > Web Front-end > Detailed explanation of HTML web page header code examples_HTML/Xhtml_Web page production
Knowledge point 1: Set the base URL of the web page in the header information
The essence of the base URL is to uniformly set the attributes of the hyperlink. The base URL tag is , which has two attributes, href and _target. href is used to set the path of the base URL, and _target is used to set the opening method of the hyperlink.
By adding the base URL, all relative website root addresses in the page can be converted into absolute addresses. When the browser browses the page, it appends the relative website and directory address to the back of the base URL path through the