I was experiencing the same problem, then i saw something on my bottom right of vs code.. instead of using HTML, i was using Django-HTML, so i changed the language to html, Boom everything is working fine again.see image
Answer from Siphamandla Ngwenya on Stack OverflowVideos
I was experiencing the same problem, then i saw something on my bottom right of vs code.. instead of using HTML, i was using Django-HTML, so i changed the language to html, Boom everything is working fine again.see image
Type the tag name (without starting <) then press Tab
for example type div then press tab and VS will convert it to <div></div>
Or type the opening tag then press Tab twice
for example :
- type
<div - press Tab
- press Tab
it will add the closing tag
Try to use Auto Complete Tag extension on VScode . It combines the functions of Auto Close Tag and Auto Rename Tag.
Go to 'Files > Preferences > Settings ' then select 'HTML' and in 'Content Unformatted' click settings.json link and then paste this code in it
"emmet.triggerExpansionOnTab": true,
"files.associations": {"*html": "html"},

Hi all
I love the auto complete for html. So I can type e.g. div hit ENTER and then I get <div></div>
This is great. However often, I only want the opening tag and not the closing tag. I can't figure out a way to do this manually. I've tried typing it out fully <div>, using tab, nothing. As soon as I use the closing > for my open tag it auto completes the next div element.
Is there any way around this without turning off autocomplete all together?
thanks
Just recommend the best extensions for VS Code. Working with html/css and JS. Thanks!