开发者

How to create a link to web page?

开发者 https://www.devze.com 2023-02-04 19:07 出处:网络
I would like to create a link to http://localhost:3000 so that when clicked, Firefox will be opened on that page. Ho开发者_运维技巧w should I do this ?You create this link as with any other:

I would like to create a link to http://localhost:3000 so that when clicked, Firefox will be opened on that page. Ho开发者_运维技巧w should I do this ?


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:

How to create a link to web page?

Link to quoted answer.

0

精彩评论

暂无评论...
验证码 换一张
取 消