From the course: HTML for Educators

Unlock the full course today

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

Making lists

Making lists - HTML Tutorial

From the course: HTML for Educators

Start my 1-month free trial

Making lists

- [Narrator] There are three types of lists that you can use to organize information with using HTML. The unordered list, the ordered list, and the description list. I'm in syllabus at HTML, and I have a live preview open, so we can see the changes as they're happening. All three lists are coded in a similar manner. Begin by defining what type of list that you would like to create, and wrap that tag around all of the items that will be contained within your list. For the grading section, I'll create an unordered list by typing in an opening UL tag, and then a closing UL tag after the last item in the list. Next, we need to tell the browser where each list item is located. You can do that by wrapping each list item in an opening LI tag and a closing LI tag. I'll come down to the second item and type in an opening LI tag. Rather than typing this code over and over again, let me show you a trick that I like to use to speed up repetitive coding tasks like this one. And that is, to look…

Contents