HTML and CSS Reference
In-Depth Information
FiGure 15-6
Try iT
In this Try It you learn how to build a definition list in an HTML page.
Lesson requirements
You will need
mars_vocabulary.html
from Lesson 15, a text editor, and a web browser.
step-by-step
1.
Open your text editor.
2.
From the Lesson_15 folder, open
mars_vocabulary.html
.
3.
Put your cursor at the end of the text
Here are your first Martian words:
after the
closing
</p>
tag and press Enter (Return).
4.
Enter the following code:
<dl>
<dt>Apotay</dt>
<dd>Hello</dd>
<dt>Atopay</dt>
<dd>Goodbye</dd>
<dt>Biznit</dt>
<dd>Martian delicacy</dd>
<dt>Cramlok</dt>
<dd>Earthling</dd>
</dl>
5.
Save your file.