Misha Moroshko
Misha Moroshko

Reputation: 171341

How to create a link to web page?

I would like to create a link to http://localhost:3000 so that when clicked, Firefox will be opened on that page. How should I do this ?

Upvotes: 0

Views: 789

Answers (1)

David Thomas
David Thomas

Reputation: 253318

You create this link as with any other:

<a href="http://localhost:3000/" title="link to localhost, port 3000">Link to localhost</a>

Of course this links to the localhost of whoever accesses the page; so the result of my clicking the link is a very different location/event than if you click the link (assuming we're not using the same computer, obviously).


If we're talking about a desktop shortcut (and I'm assuming Windows XP, here):

  1. Right click your desktop and go to New -> Shortcut.
  2. In the program location, enter the location of Firefox (something like C:\Program Files\Mozilla Firefox\firefox.exe)
  3. Once the shortcut is on your desktop, right click it and go to properties.
  4. In the "Target:" field, append links with spaces between each:

Link to quoted answer.

Upvotes: 3

Related Questions