You can turn off autoclosing tags with the following setting: 'toClosingTags' : false Auto update tags The matching closing tag is inserted when / of the closing tag is entered. Tag elements are automatically closed when > of the opening tag is typed. Configures if the built-in HTML language suggests HTML5 tags, properties and values. Override these in your user or workspace settings if you prefer not to see the corresponding suggestions. You can also control which built-in code completion providers are active. You can trigger suggestions at any time by pressing ⌃Space (Windows, Linux Ctrl+Space). However, note that script and style includes from other files are not followed, the language support only looks at the content of the HTML file. You can also work with embedded CSS and JavaScript. In the image below, you can see a suggested HTML element closure as well as a context specific list of suggested elements.ĭocument symbols are also available for HTML, allowing you to quickly navigate to DOM nodes by id and class name. IntelliSenseĪs you type in HTML, we offer suggestions via HTML IntelliSense.
VS Code also includes great Emmet support. There is syntax highlighting, smart completions with IntelliSense, and customizable formatting. Visual Studio Code provides basic support for HTML programming out of the box.