BeingSuman
BeingSuman

Reputation: 3323

How to load default HTML file in sublime text 3?

Am using Sublime Text 3 and have seen some people loading default HTML content / template just by typing words like html5or doctype. Which package do i need to use for getting same control ?

Upvotes: 3

Views: 14363

Answers (2)

Colonel Thirty Two
Colonel Thirty Two

Reputation: 26609

The html snippit is included in Sublime Text 3 by default.

From an empty file, set the syntax to HTML (either by saving the empty file with a .html extension, or by pressing Ctrl+Shift+P to open the command bar, and searching for "Set Syntax: HTML").

Then type html into the file, and press tab. Sublime Text should expand the snippet, giving you a basic HTML file with doctype, head, and body tags.

Upvotes: 15

Marcin Krasowski
Marcin Krasowski

Reputation: 686

Try emmet plugin. It provides this sort of functionality. https://emmet.io/

Upvotes: 0

Related Questions