WiredWX Hobby Weather ToolsLog in

 


descriptionSolvedhow to place the police light

more_horiz
Hi! I'm just curious. How do i program a website so that it'll have an image before the URL just like this site. As you can se, in the url of this site, there is a police light. so i just want to know, is that HTML or script?

descriptionSolvedRe: how to place the police light

more_horiz
Put this code somewhere between the

Code:

<head></head>
tags of your web page.

Code:

<LINK REL="SHORTCUT ICON" HREF="http://www.yourdomain.com/name_of_icon.ico">

descriptionSolvedRe: how to place the police light

more_horiz
how will i save an image into .ico?

descriptionSolvedRe: how to place the police light

more_horiz
I found one here:

http://www.download3000.com/download_9302.html

And one online converter:

http://www.coolutils.com/Online-Image-Converter.php

I have never used them before though.

Before, you convert it into .ico, other image format will be fine, just that certain browsers won't be able to read them.

descriptionSolvedRe: how to place the police light

more_horiz
heres the code i made.

Code:

<html>
<head>
<LINK REL="SHORTCUT ICON" HREF="icon.ico">
</head>
<body>
home
</body>
</html>



i got it already but it's not moving like that of the police light.

descriptionSolvedRe: how to place the police light

more_horiz
That's because it's an .ico file. You have to save it as a animated .gif if you want it moving.

descriptionSolvedRe: how to place the police light

more_horiz
oh! ok...changing it to .gif now Thank You! Bow or Thanks :victory:
yey! done it! Thank You! doc!

descriptionSolvedRe: how to place the police light

more_horiz
You're welcome! Note that some browsers may not be able to recognise it as a favicon.

descriptionSolvedRe: how to place the police light

more_horiz
oh! ok....then i'll jus put something like " use mozilla to see appropriate features" Cheesy Grin (sparkly

descriptionSolvedRe: how to place the police light

more_horiz
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum