【发布时间】:2015-10-14 22:07:35
【问题描述】:
我的计算机上有一个 .html 文件(本地),我只想拥有一个按钮或超链接。
所以我做了这样的事情:
超链接:
<a href="www.google.com" target="_blank">test</a>
按钮:
<button href="www.google.com">test</button>
但它不起作用,因为这个打开的 Url 像: file:///C:/Users/Cyril/Documents/visual%20studio%202013/Projects/MyProject/www.google.com
我怎样才能只打开 www.google.com ?
谢谢你的帮助
【问题讨论】:
-
在
www.google.com前面添加http://