]."/> ].">
Home > Article > Web Front-end > 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"/>
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:
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!