Home >> HTML 5 >> What is Favicon in HTML 5

What is Favicon in HTML 5

A favicon is a small image displayed with page title in the browser.

It is used by <link> tag in head.

Example

<!Doctype Html>  
<html>     
<head>      
       <title>Favicon</title>
       <link href="/favicon.ico" type="image/x-icon" rel="icon" />  
</head>  
<body>   
       <p style="color:red;">This is a paragraph.</p>
       <p style="color:green;">This is a paragraph.</p>
</body>  
</html>  

Output

This is a paragraph.

This is a paragraph.

Post Your Comment

Next Questions
What is Tables
What is Table Borders
What is Table Sizes
What is Table Headers
What is Table Padding and Spacing
What is Table Colspan and Rowspan
What is Table Styling
What is Table Colgroup
How many type of Lists
What is Unordered Lists
What is Ordered Lists
What is Block and Inline Elements
What is HTML class Attribute
What is HTML id Attribute
What is HTML Iframes
What is HTML JavaScript
What is HTML File Paths
What is HTML Head Element
What is HTML Layout
What is HTML Responsive Website Design
What is HTML Forms
What is HTML Form Attributes
What is HTML Form Elements
What is HTML Input Types
What is HTML Input Attributes

Copyright ©2022 coderraj.com. All Rights Reserved.