【问题标题】:(HTML) How can i use the \n in title attribute? [duplicate](HTML) 如何在 title 属性中使用 \n? [复制]
【发布时间】:2020-06-10 09:45:56
【问题描述】:

我想要<a href="#" title="email\nphone"></a> 之类的东西,但它不起作用。

有什么想法吗?

提前致谢

【问题讨论】:

标签: html


【解决方案1】:

你必须把文字放在一个里面

<a href="#" title="email\nphone">text here</a>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-11-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-09-13
    • 1970-01-01
    相关资源
    最近更新 更多