Home > Web Front-end > HTML Tutorial > 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

高洛峰
Release: 2017-03-15 10:13:04
Original
2966 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template