Do you have an HTML document that you need to define certain words to your user/viewer with? Show them the definition of the word so they know what you're dealing with. This article will show you how to do that.
Steps
-
Open a simple text editing program such as Notepad or WordPad on Windows, or if you're on a Mac, open up TextEdit.
-
Type the definition list tag <dl>. Press enter or return when finished.Advertisement
-
Type the definition's list header (title) tag using the <lh>.
-
Type the title for the list. The term "Definitions" works the best, and is the most precise, but if you can come up with something that works, use that instead.
-
Type the list header closing tag </lh>.
-
Type the definition tag <dt>.
-
Type the term you'd like to define.
-
Type the definition's definition tag. This will define to the HTML renderer that the words you type will become the definition portion of the word. Use the <dd> tag.
-
Type the item's definition you'd like to use.
-
Press ↵ Enter or ⏎ Return and repeat the process starting with typing the <dt> tag and finishing up with the <dd> until all words are defined.
-
Type the definition list closing tag </dl>.Advertisement
Community Q&A
Search
-
QuestionHow do I insert a definition list on a webpage?Community AnswerYou can do that by pasting the code to your existing webpage. If you are using any content management system and that does not work, look for Insert HTML code or HTML embed.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Video
References
About this article
Thanks to all authors for creating a page that has been read 12,290 times.
Advertisement