【问题标题】:Is there a quick way to add tags arround text in html有没有一种快速的方法可以在 html 中的文本周围添加标签
【发布时间】:2018-09-25 21:28:03
【问题描述】:

说我有一些文字

"Lorem ipsum dolor sit amet,"

我想在“dolor sit”周围快速添加标签。我知道我可以输入粗体并按 Tab,但是这两个标签都会出现在“dolor sit”之前

"Lorem ipsum <bold></bold>dolor sit amet,"

有什么捷径可以直接在文本周围添加粗体标签吗? (我也在用emmet)

【问题讨论】:

  • 使用&lt;b&gt;Test&lt;/b&gt;

标签: html keyboard-shortcuts emmet


【解决方案1】:

尝试使用 Wrap With Abbreviation 操作:https://docs.emmet.io/actions/wrap-with-abbreviation/

【讨论】:

    猜你喜欢
    • 2020-11-30
    • 2013-10-06
    • 2013-06-22
    • 1970-01-01
    • 2018-08-26
    • 2020-12-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-11
    相关资源
    最近更新 更多