HTML implements adding icons to the title bar of web pages

王林
Release: 2020-02-15 18:10:35
forward
6222 people have browsed it

HTML implements adding icons to the title bar of web pages

First open the html file and find the

tag;

Then add the following code in the

tag:
<link rel="icon" type="image/x-ico" href="../img/logo.jpg"/>
Copy after login

Related Recommended video tutorial: html video tutorial

Image format: the known .ico and .jpg are both acceptable.

Note: It is best to keep the width and height of the image consistent because the original setting of the icon area is a square area.

The effect is as follows:

HTML implements adding icons to the title bar of web pages

Recommended related article tutorials: html tutorial

The above is the detailed content of HTML implements adding icons to the title bar of web pages. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:cnblogs.com
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