From the course: Emmet: Fast and Efficient Web Coding

Unlock the full course today

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

Adding lorem ipsum

Adding lorem ipsum

From the course: Emmet: Fast and Efficient Web Coding

Start my 1-month free trial

Adding lorem ipsum

- [Illustrator] As you're creating your webpage, you'll undoubtedly want to be adding text within your HTML elements. You might think that this is something that you can't perform with Emmet. Many users utilize Emmet to simply outline a web document, and then they fill in the content gaps after the expansion has occurred. This is a great way to work, but many times you only need a few words like a heading, or maybe you want some placeholder text, well, rest assured, Emmett has you covered. To insert a text node, you'll use curly braces. It's going to look something like this. I'm going to create a section with a class of main, and inside it, I'll create an H1 tag, then I'm going to add the curly braces, and I'm going to type "Welcome." I'll use the end key to get to the end of the snippet block, and when I hit the tab key to expand, you'll see that I get an H1 with a text node of welcome. Generally, I don't use the curly…

Contents