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.

Replication

Replication

From the course: Emmet: Fast and Efficient Web Coding

Start my 1-month free trial

Replication

- [Instructor] When writing HTML, it can often be tedious to set up large collections of divs, lists, buttons, and anything else that you might need within your website. Often you will have a structure in mind but it just takes so much time and effort to type each element one after another. Copy and paste is great for repeated elements but thankfully there's even a better way. This is another one of my favorites. Often you will need to repeat blocks of code. You can save yourself a ton of typing when inserting multiple elements of the same type. You'll simply use the multiplication or asterisk symbol in order to accomplish this. For instance, if I want to create an unordered list with four list items, all I need to do is simply type ul>li*4. When I expand this code snippet out, you'll see that I get for list items. This works on pretty much anything you need to do, no matter how complicated. Try pairing it with the…

Contents