HTML Favicon
A favicon is a small image displayed next to the page title in the browser tab.
How To Add a Favicon in HTML
You can use any image you like as your favicon. You can also create your own favicon on sites like https://www.favicon.cc.
Tip: A favicon is a small image, so it should be a simple image with high contrast.
A favicon image is displayed to the left of the page title in the browser tab, like this:
To add a favicon to your website, either save your favicon image to the root directory of your webserver, or create a folder in the root directory called images, and save your favicon image in this folder. A common name for a favicon image is “favicon.ico”.
Next, add a <link>
element to your “index.html” file, after the <title>
element, like this:
Example
<!DOCTYPE html> <html> <head> <title>My Page Title</title> <link rel="icon" type="image/x-icon" href="/images/favicon.ico"> </head> <body> <h1>This is a Heading</h1> <p>This is a paragraph.</p> </body> </html>
Now, save the “index.html” file and reload it in your browser. Your browser tab should now display your favicon image to the left of the page title.
Favicon File Format Support
The following table shows the file format support for a favicon image:
Browser | ICO | PNG | GIF | JPEG | SVG |
---|---|---|---|---|---|
Edge | Yes | Yes | Yes | Yes | Yes |
Chrome | Yes | Yes | Yes | Yes | Yes |
Firefox | Yes | Yes | Yes | Yes | Yes |
Opera | Yes | Yes | Yes | Yes | Yes |
Safari | Yes | Yes | Yes | Yes | Yes |
Chapter Summary
- Use the HTML
<link>
element to insert a favicon
51 Responses
levofloxacin 250mg drug buy levaquin 250mg for sale
dutasteride pills buy generic zofran 4mg ondansetron 8mg cheap
purchase ampicillin online buy generic cephalexin 125mg erythromycin 250mg pill
sildenafil canada buy sildenafil 50mg without prescription purchase methocarbamol pills
suhagra 50mg over the counter estradiol 1mg cost estrace 1mg usa
lamictal 50mg uk tretinoin cream ca tretinoin buy online
order tadalafil 10mg without prescription buy avanafil 200mg generic buy diclofenac without prescription
purchase accutane azithromycin 500mg without prescription order generic azithromycin 250mg
purchase indocin cefixime 100mg us buy trimox pills
buy tadalafil online cheap aspirin and ed cheap generic viagra
anastrozole cost Free viagra sildenafil 50mg pill
cialis 5mg pour homme acheter tadalafil viagra generique
cost prednisone 20mg tadalafil 10mg sildenafil tablets
cialis 10mg kaufen ohne rezept sildenafil für männer original viagra 200mg rezeptfrei sicher kaufen
buy accutane 10mg generic buy generic zithromax purchase stromectol
provigil 200mg tablet modafinil ca buy acetazolamide 250mg pill
doxycycline online buy purchase clomid sale order furosemide without prescription
order altace 5mg sale brand azelastine 10 ml buy astelin 10ml online cheap
buy generic clonidine minocin 100mg without prescription buy spiriva 9 mcg online
order buspar generic order oxybutynin 2.5mg generic order ditropan pill
terazosin pills order azulfidine 500 mg for sale order generic azulfidine 500 mg
cheap benicar 20mg order olmesartan 10mg online cheap acetazolamide 250 mg sale
purchase prograf trandate 100mg us buy generic urso 150mg
brand imdur 20mg buy isosorbide online telmisartan 20mg pills
order zyban pill order quetiapine 50mg online cheap cost seroquel 100mg
buy generic molnunat buy lansoprazole online order generic lansoprazole 30mg
order generic sertraline sertraline 50mg price sildenafil brand
salbutamol 100mcg drug sildenafil 150mg for sale buy viagra online cheap
order tadalafil sale buy tadalafil without prescription cheap viagra online
female cialis pill tadalafil price order symmetrel pill
naltrexone 50 mg sale order naltrexone 50mg for sale order abilify 30mg pill
purchase avlosulfon online cheap purchase dapsone aceon tablet
order provera 10mg without prescription biltricide 600 mg over the counter buy periactin 4mg pill
modafinil buy online stromectol usa stromectol south africa
generic luvox 100mg glipizide cost glucotrol 10mg us
isotretinoin drug isotretinoin 40mg over the counter prednisone 10mg uk
order nootropil 800mg piracetam 800mg drug viagra 100mg ca
buy zithromax 250mg sale buy prednisolone for sale buy neurontin tablets
tadalafil 40mg for sale cheap tadalafil for sale order generic viagra 100mg
buy generic furosemide doxycycline pill purchase plaquenil pill
real cialis pills betnovate 20gm brand anafranil over the counter
order chloroquine 250mg pill baricitinib 2mg usa buy baricitinib online
free dating site chatting personals dating top 100 dating websites 2020 dating sites online
출장마사지
DonaldKat
https://xn—24-7-3vebahb3baz2czbsdzdf9b3a4x.xn--p1ai/
https://xn--24-7–3vefjh5cxa7amcku4ap.xn--p1ai
https://xn—-24-7-2nfbpd5dza0bncg0a6al.xn--p1ai
https://xn—24-7-3vebnd9cxa7amcgy4al.xn--p1ai
https://xn—-24-7-3nfzigf2folbfai2a2a8d2e3c.xn--p1ai
https://xn—24-7-4vevhge6enkbeai0a1a5dye2c.xn--p1ai
https://xn—24-7-3vebi7a0c8ajhwdyl9mh.xn--p1ai/
cialis 5 mg precio cialis 5 mg 28 comprimidos en farmacias comprar cialis 5 mg
Adored the images, i actually like the among %image_title%, perfecto.
https://domodedovo2012.ru
https://akita-kennel.ru
https://kupitshin.online
https://goodyear1.online
https://sekup.ru
https://seo-top-site.ru
https://tireservice1.online
https://testcars.ru
https://hankook1.online
https://prodvizhenie-sait.ru
https://kormoran1.online
https://seo-privat.ru
https://nokian1.online
https://vash1host.ru
https://mytop-site.ru
https://toyo1.online
https://michelin1.online
https://bridgestone2.ru
https://yokohama1.online
https://cordiant-1.online
https://o-dom2.ru
https://pirelli1.online
https://cordiant-1.online
летние шины 235 60 18
коммерческие шины гиславед
FloydCew
https://sekup.ru
поисковое продвижение seo
продвижение сайта стоимость
https://mytop-site.ru
зимние шины icepro 3 suv
run flat шины что это
StephenSom
https://hankook1.online
сео продвижение цены
разработка и продвижение сайтов агентство
https://kormoran1.online
низкопрофильные шины йокогама
доставка шин arivo
Davidbem
https://mytop-site.ru
создание сайтов и продвижение организаций
стоимость seo
DonaldKat
https://xn—-24-7-2nfbpd5dza0bncg0a6al.xn--p1ai
https://xn—24-7-3vebi7a0c8ajhwdyl9mh.xn--p1ai/
https://xn—24-7-3vebahb3baz2czbsdzdf9b3a4x.xn--p1ai/
https://xn—-24-7-3nfzigf2folbfai2a2a8d2e3c.xn--p1ai
https://xn—24-7-4vevhge6enkbeai0a1a5dye2c.xn--p1ai
https://xn—24-7-3vebnd9cxa7amcgy4al.xn--p1ai
https://xn--24-7–3vefjh5cxa7amcku4ap.xn--p1ai