Home  >  Article  >  Web Front-end  >  How to add the website logo before the title of the title bar

How to add the website logo before the title of the title bar

高洛峰
高洛峰Original
2017-03-15 10:13:042891browse

This article introduces how to add the website logo before the title of the title bar.

I saw it on which website before. I have nothing to write down today:

1. Change the pixel size to The 16*16 picture is named favicon.ico (the color used in the picture cannot exceed 16 colors), and it can be placed in the root directory of the website;

2. In ## Add code to the #head tag (the icon can be named arbitrarily or not placed in the root directory):

Title bar:

Favorites:


The above is the detailed content of How to add the website logo before the title of the title bar. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn