Sublime Forum

How to generate HTML tags

#1

Hello,

Sorry if this is weird question but I’m new to sublime and I was wondering if there’s any way to automatically generate all the basic HTML tags like , etc… so I don’t have to write it myself all the time :smile:.

Thank you

0 Likes

#2

You need to be editing an HTML file. (You can see what Sublime thinks the syntax of the current file is on the bottom right corner). An HTML file is either one with an appropriate extension (.html, .htm, etc.) or one where you’ve changed the syntax to HTML via the menu or the command palette.

Then, just type head (or any other tag) and press tab. If it doesn’t, you may have turned it off. Inspect your settings under the menu Preferences > Settings - User.

There are other packages (Tag, Emmet, etc.) which can extend this functionality

Hope this helps,
Alex

0 Likes

#3

This works just perfectly! Many thanks for your helpful post :smile:.

0 Likes