Making an icon for your website

Ever seen how some websites have that little icon next to the URL, in the title bar at the top of the browser, and next to them in your favorites? You can have that on your site too with easy All you need is a FAVICON.  A favicon is a 16x16 pixel image in the .ico format.

To display this icon, you first need access to the HTML code your page generates. In the HEAD tag, place this meta tag:

<head>
  <link rel="SHORTCUT ICON" href="./images/favicon.ico" />
</head>

in the href=" " section, replace it with the URL to your .ico file. That's it! You now have the icon for your website.

Now if you need help making this .ico file or want to convert an existing image to a .ico file, then use this Favicon generation site. It will allow you to either draw a custom image or upload an image and convert it to the appropriate dimensions and colors.

More by this Author

  • Regex for BBCode in PHP
    5

     Regular Expressions (Regex) are a way to parse information and match it with a larger string. For example, If you wanted to validate an email address, you could write a regular expression that would try and match...


Comments

No comments yet.

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working