<head></head>
Add the following code to the page
<link rel="icon" href="../images/favicon.ico" type="image/x-icon">
Among them favicon
is the name of the icon, .ico
which is the format of the icon, and must be in this format, and the size of the icon should be changed to16*16