3 Replies - 1028 Views - Last Post: 20 March 2009 - 03:31 PM

#1 ASamBrown  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 36
  • Joined: 05-February 09

Downloading

Post icon  Posted 20 March 2009 - 10:35 AM

First, I use Note Pad to edit my web pages, meaning I am too cheap to buy a WYSIWYG program. I need the HTML code so I can copy and past it to my web page so anyone can download a file I wish them to be able to download. The file is zipped and is located in the same folder where all of the web pages themselves are located. The name of one of the two files is named "host". If I have the Code for the host file I can simply change the name to the other file on a different link. Below is what I tried.
 
<P>
<A HREF="hosts">hosts</A>
<P>
 

Above is what I tried but this does not work, at least while it is still on my computer.

BTW This is not Home work.

Is This A Good Question/Topic? 0
  • +

Replies To: Downloading

#2 westforduk  Icon User is offline

  • D.I.C Head

Reputation: 24
  • View blog
  • Posts: 140
  • Joined: 16-August 07

Re: Downloading

Posted 20 March 2009 - 10:47 AM

Firstly, there are plenty of free WYSIWYG editors for example NVU editor.

What you need to do is to put where you have written "hosts" and change it to the path name of the file.

<a href="www.somesite.com/file.zip">Download Me </a>


and when the user clicks the link it will open with the default application usually with zip files this is the download interface.

This post has been edited by westforduk: 20 March 2009 - 10:47 AM

Was This Post Helpful? 0
  • +
  • -

#3 richiebee  Icon User is offline

  • D.I.C Regular

Reputation: 4
  • View blog
  • Posts: 259
  • Joined: 27-November 08

Re: Downloading

Posted 20 March 2009 - 10:56 AM

 
<P>
<A HREF="hosts">hosts</A>
<P>
 

also close the bracket </p>

This post has been edited by richiebee: 20 March 2009 - 10:57 AM

Was This Post Helpful? 0
  • +
  • -

#4 gregwhitworth  Icon User is offline

  • Tired.
  • member icon

Reputation: 221
  • View blog
  • Posts: 1,613
  • Joined: 20-January 09

Re: Downloading

Posted 20 March 2009 - 03:31 PM

Quote

<P>
<A HREF="hosts">hosts</A>
<P>

And I don't mean to be picky, or annoying, but to make this XHTML compliant your tags need to be lower case:

Quote

<p>
<a href="hosts">hosts</a>
</p> <!-- Close your paragraph tag too -->

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1