In this article, I will show you how to create favicon for website on the browser tab. The size of the site icon should be about 16x19 pixels and named as favicon.ico or something. It also called as shortcut icon,bookmark icon or webpage icon.If you are using a master page,It should be placed in the head section of the page like this,
<link rel="shortcut icon" href="http://www.infinetsoft.com/Images/infi.ico" type="image/x-icon" />
Description: Here, I am using mvc application, I have placed this at the layout.cshtml. My website is www.infinetsoft.com ,Notice the browser icon is displayed in the address bar. You can convert any other format image file to .ico format using this website https://www.icoconverter.com/.
Post your comments / questions
Recent Article
- How to use if else statement in c++?
- How to use godaddy domain name with another godaddy hosting account?
- Restore of database 'DATABASE' failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)
- How to programmatically modifying the AppSetting value in web.config using c#?
- TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
- How to calculate the age from jQuery ui datepicker using c#?
- How to calculate days difference between two dates in c#?
- Changing date format in jQuery ui datepicker
Related Article