Wednesday, 30 March 2016

How to add a favicon images to your page?

How to add a favicon images  to your page? 

How can you add images to your title page?

Step 1: Firstly convert your logo or image to favicon.ico. 
This can be done as follows:

  • Go to the link given below,
  • Choose your image, convert it to .ico.
  • Download your favicon.ico to your application directory.

Step 2: Copy and paste this favicon.ico to image folder of project.
Step 3: Open Master page(SiteMaster).
Step 4: Copy the below generated code to the head tag of your page:

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="icon" href="/favicon.ico" type="image/icon" />

Now, this will display your title icon the way u want.
Post a Comment