Webucator's Free Adobe Dreamweaver Tutorial
Welcome to our free Adobe Dreamweaver tutorial. This tutorial is based on Webucator's Introduction to Dreamweaver Creative Cloud (CC) Training course.
HTML provides three types of lists:
Unordered Lists - used to create lists in which the order of the list items is not important (e.g., a grocery list or a list of people in a group).
Ordered Lists - used to create lists in which the order is important (e.g., a recipe or setup instructions).
Definition Lists - used to create lists containing terms and definitions (e.g., a dictionary or glossary).
In this lesson, we will learn how to create all three.
- Learn to create unordered lists.
- Learn to create ordered lists.
- Learn to create nested lists.
- Learn to create definition lists.
Ordered and Unordered Lists
Creating ordered and unordered lists in Dreamweaver is simple using the list icons in the Properties: To illustrate:
- Open ClassFiles/dreamweaver-cc/Exercises/Anchors-list.html in Dreamweaver.
- Place the cursor on the line with the three linked story titles.
- Click on the Unordered List icon in the Properties. Your page should appear as follows:
- Place the cursor at the end of "Pooh Goes Visiting" and delete the dividing bar:
- Press Enter:
- Place the cursor at the end of "A Mad Tea-Party," delete the dividing bar and press Enter:
- To add another bullet at the end of the list, place the cursor at the end of "The Naughty Boy" and press Enter and type a story name:
- You can add additional bullets by typing story names and pressing Enter just as you would in a typical Word processing tool.
You create ordered (or numbered) lists in the same way. In step 3 above, you would click the Ordered List icon instead of the Unordered List icon.
Creating a List from Scratch
To create an ordered or unordered list from scratch, simply start a new paragraph and press the appropriate list icon on the Properties.
Unordered and ordered lists may be nested any number of levels deep. To illustrate:
- Open ClassFiles/dreamweaver-cc/Exercises/nested-list.html in Dreamweaver.
- The page is currently empty. Type "Grocery List" and make it a Heading 1.
- With the cursor below the heading, begin an unordered list by clicking on the Unordered List icon in the Properties.
- Type "Fruit" and press Enter:
- To create your nested list, press Tab (or click the Indent icon on the Properties) and type "Apples" Enter, "Pears" Enter, "Bananas" Enter:
- There are multiple ways to get back to the parent list:
- Press Enter again.
- Press Shift+Tab.
- Click the Indent icon on the Properties.
- Type "Meat" and press Enter:
- Continue with your list until it looks like this:
- To get out of a list, make sure the cursor is at the very end of the last item in the list and press Enter twice.
To convert an unordered list to an ordered list (or vice versa), click somewhere within the list (or sublist) and then click the appropriate list icon on the Properties.
Definition lists, which are used less frequently than unordered and ordered lists, are used to create lists containing terms and definitions. Dreamweaver does not provide a way to create them using the Properties.
- Select the location to place the list.
- Choose Edit > List > Definition List.
- Enter the list items. Press enter after the term, then type the definition. Repeat as needed until all terms and definitions are entered.
To illustrate how a definition list is added to a page:
- Open ClassFiles/dreamweaver-cc/Exercises/definition-list.html in Dreamweaver.
- The page is currently empty. Type "Abbreviations" and make it a Heading 1.
- With the cursor below the heading, begin a definition list choose Edit > List > Definition List. You will not notice any change on the page, but if you look at the Tag Inspector on the bottom left, you will see this: This indicates that you are in a definition term (dt) within the definition list (dl).
- Type the following:
- ol Enter
- Ordered List Enter
- ul Enter
- Unordered List Enter
- dl Enter
- Definition List Enter
- After pressing Enter twice at the end of the list, you should no longer be in the definition list and your page should look as follows:
The display of definition lists is a little odd, but, if you learn CSS well, you will be able to change the display to look like the page below (or however else you like):
Duration: 15 to 25 minutes.
In this exercise you will create a new page that looks like this:
- Create a new page and save it as RunningTerms.html in ClassFiles/dreamweaver-cc/Exercises.
- Add the title and heading level 1.
- Create the list of links at the top. Here are the links:
- Home: index.html
- Races: Races.html
- Resources: Resources.html
- Calculator: Calculator.html
- Running Log: RunningLog.html
- My Account: MyAccount.html
- Log out: Logout.html
- Add the definition list below the navigation menu.
- If you do not want to type the whole list out, you can grab the content from ClassFiles/dreamweaver-cc/Exercises/RunningTerms.txt; however, do not copy and paste the whole thing at once as that will add a bunch of unwanted paragraphs. Rather, copy and paste each term and definition as needed.
- Save your page and open it in the browser. Does it look right?
Converting Content to a List
Duration: 15 to 25 minutes.
In this exercise you will modify Resources.html, which currently looks like this:
Notice that it contains a list of resources. Although the order may not matter, it would be nice to be able to refer to a resource by number, so that the list could be represented as an ordered (or numbered) list. Each resource has some related information, which could be represented in a nested list:
- The date it was posted.
- A description.
Modify the page to look like this:
- Open ClassFiles/dreamweaver-cc/Exercises/Resources.html in Dreamweaver.
- Modify the page so that it appears as shown in the second screen shot above.
- Save your work and open your new page in a browser to test it.