I have set up a new project to work on and have only created an index.html
file and a style.css
file. Usually, when I type html
in the index.html
, it provides options to create a basic template but I do not have those options, similarly, it does not do it for any html
tags either.
I have checked that the language is HTML and not Django-HTML and also restarted the window but still no luck?
CodePudding user response:
It may not give any suggestions / autocomplete for tags in an empty file, since you're not inside any basic html structure.
Try html:5
or !
to create a html template first.
CodePudding user response:
try using html 5 <!DOCTYPE>
or install emmet extension in vs-code
CodePudding user response:
check if you are using HTML and not something like Django HTML or so. It can quite often be the issue. Other than that, be sure to use <!DOCTYPE html>
I had simmilar problems while I was using VS code, so this may help