favicon | how to add favicon in html

Опубликовано: 12 Октябрь 2024
на канале: Hero Code
386
2

If you want to add favicon in your html file , you should write a link tag and write "icon" for it's rel attribute and write "image/x-icon" for it's type attribute and add the icon address for href attribute.

Tip : Your maximum photo size should be 192 x 192 pixels.

✔️ What is favicon ? A favicon is a small icon used on web browsers to represent a website or a web page. Short for “favorite icon,”’ favicons are commonly displayed on tabs at the top of a web browser,—but they’re also found on your browser’s bookmark bar, history and in search results, alongside the page url.


🔎 hashtags :
#programming
#html

favicon | how to add favicon in html
html
favicon
Hero Code
hero code