HTM-02500 | How do I make a list in HTML?
Lists are very simple to create and give structure and a good feel to any web page.HTML offers authors several mechanisms for specifying lists of information. All lists must contain one or more list elements. Lists may contain:
- Unordered information. <li> + <ul>
- Ordered information. <li> + <ol>
- Definitions. <dl> + <dt> + <dd>
Click here to view a variety of list examples.
Lists may also be nested and different list types may be used together, as in the following example, which is a definition list that contains an unordered list (the ingredients) and an ordered list (the procedure):
- The ingredients:
-
- 100 g. flour
- 10 g. sugar
- 1 cup water
- 2 eggs
- salt, pepper
- The procedure:
-
- Mix dry ingredients thoroughly.
- Pour in wet ingredients.
- Mix for 10 minutes.
- Bake for one hour at 300 degrees.
- Notes:
- The recipe may be improved by adding raisins.
{post_title}
{post_content}
{associated_insight_resource.post_title}
{associated_insight_resource.resource_link}
{associated_insight_resource.insight_type }