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 restrict access to the page Access only for logged user in Django
- Migration admin.0001_initial is applied before its dependency admin.0001_initial on database default
- Add or change a related_name argument to the definition for 'auth.User.groups' or 'DriverUser.groups'. -Django ERROR
- Addition of two numbers in django python
- The request was aborted: Could not create SSL/TLS secure channel -Error in Asp.net
- FieldError: Cannot resolve keyword 'id' into field in Django project
- How to hide the ID field from the Django admin?
- It is impossible to add a non nullable field without specifying a default. Django error
Related Article