Loading

Quipoin Menu

Learn • Practice • Grow

html / Favicon Tag
interview

Q1. What is a favicon?
A favicon (favorite icon) is a small icon displayed in the browser tab, bookmarks, and history, representing a website.

Q2. How do you add a favicon to an HTML page?
Use the <link> tag in the <head> section: <link rel="icon" type="image/x-icon" href="favicon.ico">

Q3. What are common favicon file formats?
Common formats: ICO, PNG, SVG, GIF. ICO is traditional, but modern browsers support PNG and SVG.

Q4. What is the recommended size for a favicon?
Standard favicon size is 16x16 or 32x32 pixels. Modern sites often include multiple sizes for different devices.

Q5. Can you have different favicons for different devices?
Yes, use multiple <link> tags with different rel values like apple-touch-icon for iOS devices.