简体   繁体   English

如何将 html 属性添加到 vsc 片段中的标记

[英]How to add html attribute to tag in a vsc snippet

I'm wondering how to add a html attribute like content inside of a html tag (eg meta ) to a VSC code snippet.我想知道如何将 html 属性(如 html 标记(例如meta )内的content )添加到 VSC 代码片段。 Can someone help me?有人能帮我吗?

Oh, I think I've solved the problem by myselfe:哦,我想我已经自己解决了这个问题:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM