【问题标题】:How to add html attribute to tag in a vsc snippet如何将 html 属性添加到 vsc 代码段中的标记
【发布时间】:2021-12-01 13:22:26
【问题描述】:

我想知道如何在 html 标记(例如 meta)内添加一个 html 属性,如 content 到 VSC 代码 sn-p。有人可以帮我吗?

【问题讨论】:

    标签: html visual-studio-code


    【解决方案1】:

    哦,我想我已经自己解决了这个问题:

    meta[name='keywords'][content='test, a test, testing']
    

    【讨论】:

    • 您的答案可以通过额外的支持信息得到改进。请edit 添加更多详细信息,例如引用或文档,以便其他人可以确认您的答案是正确的。你可以找到更多关于如何写好答案的信息in the help center
    猜你喜欢
    • 1970-01-01
    • 2011-09-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-12-14
    • 1970-01-01
    • 2017-12-03
    • 2019-05-29
    相关资源
    最近更新 更多