Heim > Fragen und Antworten > Hauptteil
本地运行的网站,怎么通过自己的页面跳转到别的网站的页面上去,比如要从自己的某个页面跳转到百度的首页,我在HTML里用a
标签,但是出错了,发现网址居然是这样的:127.0.0.1:5000/www.baidu.com
。到底要怎么才能跳转到百度的首页去呢??求教。
怪我咯2017-04-17 17:38:52
我试了下用href是可以的:
<h1>Hello Word</h1>
<p><a href="https://www.baidu.com">Switch to baidu</a></p>