How do I change the html initialization code template generated by VS code! + tab by default?

vscode! How to change the quickly generated html code? Because now the default is

in the code.
<head lang="en">

change it to zh, every time. Excuse me, where is the template that directly changes the quickly generated code?

Sep.30,2021

search for the answer
how to change the html template generated by VS code by default

Files-preferences-Settings

enter the box to search for emmet.variables , edit
in the settings.json file (there may be some differences here, my Vscode version is 1.28.2 )
, and then add

.
{
    "emmet.variables": {
        "lang": "zh"
    }
}

I can test it myself.


File-> preferences-> user code snippet

you can write all kinds of templates


File-> preferences-> user code snippet

you can write all kinds of templates

Menu