Using HTML Snippet Pack
In Chapter 4, Adding Code Snippets, we reviewed how code snippets can improve our productivity while we are coding. We also learned how to create, import, and remove code snippets using Code Snippets Manager.
In VS’s extension marketplace, we can find many extensions to add code snippets for different technologies by navigating to https://marketplace.visualstudio.com/ and typing snippet
in the search bar (see Figure 12.1):
Figure 12.1 – Extensions related to snippets in VS Marketplace
One of the most popular snippet packs for web developers is HTML Snippet Pack by Mads Kristensen. With this extension, you can code in HTML faster, creating pieces of code and HTML elements after typing some characters in the editor.
To install the extension, search for the term HTML Snippet
in the Extensions menu, as shown in Chapter 11, Working with Extensions in Visual Studio.
To use the HTML Snippet Pack extension, you need...