如何在链接中换行文字?

发布于 2024-12-09 11:59:25 字数 428 浏览 4 评论 0原文

我想用这样的方式包装一个简单的链接文本:

http://google.de &啦啦啦; http://google.de

我标记了链接并编写了这个 zen 代码 ():

a[href=*]* 

但是链接的 href 属性设置不正确

<a href="*">http://google.de</a>.

I want to wrap a simple link text in a way like this:

http://google.de & rarr; <a href="http://google.de">http://google.de</a>

I marked the link and wrote this zen code ():

a[href=*]* 

But the href attribute of the link is not set correctly

<a href="*">http://google.de</a>.

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

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

发布评论

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

评论(1

×眷恋的温暖 2024-12-16 11:59:25

您确定* 的用法吗?

http://code.google.com/p/zen-coding/维基/操作

它似乎没有用于您想要的用途。

Are you sure about * usage?

http://code.google.com/p/zen-coding/wiki/Actions

It doesn't seems it's used for what you want.

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