我无法创建抖音页面链接,因为有一个@,但其他链接工作正常。有谁知道如何修复它?
我正在(大部分)用 HTML 构建一个网站。它是视觉工作室上的 Blazor 应用程序。这是代码。前两个按钮可以使用,但 TikTok 中的 @ 周围有错误。有人知道该怎么办吗?桌子是这样的,我可以将按钮并排放置。这是 TikTok 页面,而不是视频。其他人一直告诉我嵌入视频。它应该将他们带到 TikTok,以便他们可以关注。
<table class="center">
<tr>
<td>
<button Class=accordion-item onclick="window.location.href='https://www.instagram.com/ringle.ye/'">
<img src="Images/Contact us/instagram (1).png" width=250/>
<h2>Instagram</h2>
</button>
</td>
<td>
<button Class=accordion-item onclick='window.location.href="https://www./tiktok.com/@ringle.ye/"'>
<img src="Images/Contact us/372102690_TIKTOK_LOGO_1080.png" width=250/>
<h2>TikTok</h2>
</button>
</td>
<td>
<button Class=accordion-item onclick="window.location.href='mailto:[email protected]'">
<img src="Images/Contact us/apple-mail.png" width=250/>
<h2>Mail</h2>
</button>
</td>
</tr>
</table>
该链接需要 @ 才能到达正确的位置(否则会出现错误 404)。我尝试过其他的东西,但它们很混乱而且不起作用。
I'm building a website in HTML (mostly). It is a blazor application on visual studios. This is the code. The first two buttons work but there is an error around the @ in the TikTok one. Does anyone know what to do? The table is so I can have the button side by side. It is a TikTok PAGE, not a VIDEO. everyone else keeps telling me to embed a video. It's supposed to take them to TikTok so they can follow.
<table class="center">
<tr>
<td>
<button Class=accordion-item onclick="window.location.href='https://www.instagram.com/ringle.ye/'">
<img src="Images/Contact us/instagram (1).png" width=250/>
<h2>Instagram</h2>
</button>
</td>
<td>
<button Class=accordion-item onclick='window.location.href="https://www./tiktok.com/@ringle.ye/"'>
<img src="Images/Contact us/372102690_TIKTOK_LOGO_1080.png" width=250/>
<h2>TikTok</h2>
</button>
</td>
<td>
<button Class=accordion-item onclick="window.location.href='mailto:[email protected]'">
<img src="Images/Contact us/apple-mail.png" width=250/>
<h2>Mail</h2>
</button>
</td>
</tr>
</table>
The link requires an @ for it to go to the right place (otherwise error 404). I've tried other things but they're messy and don't work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用
you can use
可能是您可以尝试这种
希望可以帮助您
may be you can try this
hope can help you