HTML Programming with Visual Studio Code | visual studio code html preview
InthisarticleIntelliSenseClosetagsAutoupdatetagsColorpickerHoverValidationFoldingFormattingEmmetsnippetsHTMLcustomdataHTMLextensionsNextstepsCommonquestionsVisualStudioCodeprovidesbasicsupportforHTMLprogrammingoutofthebox.Thereissyntaxhighlighting,smartcompletionswithIntelliSense,andcustomizableformatting.VSCodealsoincludesgreatEmmetsupport.IntelliSenseAsyoutypeinHTML,weoffersuggestionsviaHTMLIntelliSense.Intheimagebelow,youcanseeasuggestedHTMLelementclosure
In this article IntelliSenseClose tagsAuto update tagsColor pickerHoverValidationFoldingFormattingEmmet snippetsHTML custom dataHTML extensionsNext stepsCommon questions
Visual Studio Code provides basic support for HTML programming out of the box. There is syntax highlighting, smart completions with IntelliSense, and customizable formatting. VS Code also includes great Emmet support.
IntelliSenseAs you type in HTML, we offer suggestions via HTML IntelliSense. In the image below, you can see a suggested HTML element closure </div> as well as a context specific list of suggested elements.
Document symbols are also available for HTML, allowing you to quickly navigate to DOM nodes by id and class name.
You can also work with embedded CSS and JavaScript. However, note that script and style includes from other files are not followed, the language support only looks at the content of the HTML...