How can I close the tags in Visual Studio Code, I can not find the way

1

In Visual Studio Code I want to be able to close the tags or labels with some command, they know how I have not found the solution or what shortcut can be done, thanks!

    
asked by Gerardo Bautista 14.08.2017 в 00:15
source

1 answer

2

You can do this by typing the name of the tag, without the symbols of minor and major enclosing it, for example "h1", and pressing the Tab key. That automatically creates the opening and closing tag. The same if you want to put a label with an attribute, you write "div.boton" and automatically generates <div class="boton"></div> .

    
answered by 14.08.2017 в 00:20