Macromedia Dreamweaver 8: Training from the Source

A definition list consists of a series of terms and their definitions. The word or term to be defined is left-aligned; the definition is indented and placed on the next line. There are no leading characters as there are in ordered and unordered lists.

1.

Open the definitions.html document and select the text starting with the line Hatha Yoga and continuing through the end of the document. Choose Text > List > Definition List.

Note

For additional practice, you can create a new document, save it in the Lesson_02_Content folder, give it a title, and import the text from the definitions.txt document located in the Text folder. The definitions.txt file was created on a Macintosh. You might also want to apply a heading to the title Yoga at the top of the document.

The terms are now at the left margin, and their indented definitions are on succeeding lines.

Your definition list should look like the following example.

2.

Save both the definitions.html and index.html files, and preview them in the browser.

Now that you have put work into creating and formatting all these lists, it's a good time to save your documents. Leave both documents open to work with through the rest of this lesson.

Категории