From the course: Emmet: Fast and Efficient Web Coding

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Generating DOCTYPEs

Generating DOCTYPEs

From the course: Emmet: Fast and Efficient Web Coding

Start my 1-month free trial

Generating DOCTYPEs

- [Instructor] And then it is so convenient to start building webpages with, it's super easy to get the doctype syntax up and running with just a few characters. There are quite a few methods you can use to create the doctype. We'll start with HTML5 since it's probably what you'll most commonly be using. You can simply type HTML:5 and then hit tab to expand, and you'll see that you get the basic HTML doctype. Now I'm going to do undo and I'm going to show you an even easier way that you can create an HTML5 document. You can simply type exclamation and hit tab and that will give you the same thing. So with the stroke of one character, you can get all of the doctype to be implemented into your file. It is worth noting that depending on which application you're using, when you expand the doc type, it may look like mine or it might look slightly different. Visual Studio Code for instance includes the viewport meta tags…

Contents