Check out example codes for "vs code enable "html" in "javascript"". It will help you in understanding the concepts better.

Code Example 1

"emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "vue-html": "html",
    "razor": "html",
    "plaintext": "pug"
}

Learn ReactJs, React Native from akashmittal.com