Search code examples
sublimetext3emmet

SublimeText - typing "html" + {TAB} just returns HTML, not full default tags


I just installed Emmet, and when I type html TAB I only get

<html></html>

Before then, when I did so, Sublimetext would create all the default tags:

<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>

</body>
</html>

Is there a setting or something I can update in Emmet, or Sublime text so that when I have Emmet enabled, I can get the "full" tags?

The file is a .html file, and it's set to HTML in Sublime.

Here's a quick .gif - I start with Emmet diabled:

enter image description here


Solution

  • In Sublime Text 3 it's

    html:5 + tab

    Returns:

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Document</title>
    </head>
    <body>
    
    </body>
    </html>