Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: Leading Icon

  1. #1
    New Coder
    Join Date
    Feb 2007
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Leading Icon

    Howdy,

    I am wondering the skill needed to add a leading icon in front of the web address eg the leading icon of "http://www.codingforums.com". Was is coded inside the web-page or there is some command for that? Many thanks for all in advance.


    Kind regards


    New Comer

  • #2
    Banned
    Join Date
    Oct 2008
    Posts
    136
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Its a favicon.

    Code:

    PHP Code:
      <link href="favicon.ico" rel="shortcut icon" type="image/x-icon" /> 
    Add between the <head> code.

  • #3
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    I've previously written about this, but for the sake of brievity, that isn't entirely correct. It should really read something like so:
    Code:
    <link rel="shortcut icon"
      href="/favicon.ico" type="image/vnd.microsoft.icon"/>
    The MIME type uses the one actually registered with the IANA.

  • #4
    New Coder
    Join Date
    Feb 2007
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Many thanks for all of your information and advices.



    Kind regards



    New Comer


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •