哈巴狗:如何制作链接到另一页的按钮,它不起作用

发布于 2025-01-29 20:24:15 字数 201 浏览 6 评论 0原文

这是我的代码。我通常可以在HTML中做到这一点,但我正在学习哈巴狗。我不知道为什么链接不起作用。我无法将其转到另一个HTML页面。我不明白为什么它不起作用。

谢谢您的建议

代码

This is my code. I normally can do this in HTML but I am learning PUG. I don't know why the link is not working. I can't make it go to another HTML page. I don't understand why it is not working.

thank you for your advise

the code

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

请止步禁区 2025-02-05 20:24:15

我通过将突出显示的线更改为类似类型的其他类型来解决。

a(class ='button'href ='Destinations.html'id =“ btn_destinations”)ir a destinos的

工作。我仍然不明白为什么前一个没有工作。

I solved it by changing the highlighted line to a different type like this.

a(class='button' href='destinations.html' id="btn_destinations") Ir a destinos

it worked. I still don't understand why the previous one didn't work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文