none
How to apply Favicon in html in sharepoint 2013 RRS feed

  • Question

  • Hi, Am using shrepoint 2013 .html page. favicon is not displaying in chrome but it is working in IE.

    i had tried in three ways

    1) <link rel="shortcut icon" href="/industries/SDCDPortal/SiteAssets/JAPIT-SDCD IMAGES/favicon.ico?rev=23" type="image/vnd.microsoft.icon" id="favicon" />

    2) <SharePoint:SPShortcutIcon runat="server" IconUrl="/industries/SDCDPortal/SiteAssets/JAPIT-SDCD IMAGES/favicon.ico?rev=23" />

    3) 

    <!--SPM:<SharePoint:SPShortcutIcon runat="server" IconUrl="/industries/SDCDPortal/SiteAssets/JAPIT-SDCD IMAGES/favicon.ico?rev=23"/>-->

    can anyone help how to use favicon in .html not in master page. and had to work in both IE & chrome


    Bhavya Sruthi

    Tuesday, March 14, 2017 5:48 AM

All replies

  • Hi,

    It’s a long story but you could try this.

    <!--<SharePoint:SPShortcutIcon runat="server" IconUrl="/_catalogs/masterpage/googleg_lodp.ico" />
    	<!-- Just IE? -->
    	<!--[if IE]><link rel="shortcut icon" href="/_catalogs/masterpage/googleg_lodp.ico"><![endif]--> 
    	<!-- Everybody else? -->
    	<link rel="icon" href="/_layouts/15/images/SharePointMetroAppTile.png"/>
    

    You could check below thread for more details.

    http://www.jonathantneal.com/blog/understand-the-favicon/

    Best Regards,

    Lee


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Wednesday, March 15, 2017 3:52 AM