Saturday, November 9, 2024

HTMLGoodies Community Mentors: HTML FAQ


HTML Frequently Asked Questions


Downloads:

 

Q. 

How can I let
people viewing my page download files, making the windows download box
appear?

A. 

Create a link to
the file that you want people to download. For instance if it were a Zip
file that you were offering for download and it was in the download folder
it would look like this:
<a href="download/your_file.zip">Click here to download</a>

Your browser will automatically realize that this is a downloadable file and
trigger the download dialog box. The only problem that might arise is if the
file is a Microsoft Office or PDF file. Then it might open in the browser
itself.

If that is the case then you could either compress the file into a Zip file
or you could give instructions to right click on the link and choose "Save
target as…".

 

Miscellaneous:

 

Q. 

Some websites show a small
graphic logo in the MSIE address bar, instead of the standard IE "e on a
page" logo (Netscape does not show the alternate logo in its address bar).
How can I get my site to put up a logo in the address bar?

A. 

What you are seeing is Favicon.
It is a 16×16 image that when linked correctly in your HTML code, it will
show up in the address bar. You can make your own Favicon and then upload it
to your site. In the HEAD section of your HTML code you would link to it
like this:
<LINK REL="SHORTCUT ICON" HREF="/favicon.ico">

Take a look at this site:
http://www.favicon.com

It will explain the whole process and it even has an online editor so you
can create your own Favicon.

 

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Popular Articles

Featured