put the picture "favicon.ico" in the root of your web page repo.
then add the following line in the "<head>" of the "index.htm":
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?">
put the picture "favicon.ico" in the root of your web page repo.
then add the following line in the "<head>" of the "index.htm":
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?">
转载于:https://www.cnblogs.com/miaoz/p/6285016.html