What are the different types of lists available in HTML, and how are they used?
Instruction: Describe the various HTML list types and their applications.
Context: This question assesses the candidate's understanding of the different list types in HTML and their appropriate use cases.
Updated
Official answer available
Read the opening below, then unlock the full answer and practical guidance.
Use ul when item order is not meaningful, ol when changing the sequence changes the meaning, and dl for groups of names and associated descriptions or values.
<h2>Equipment</h2> <ul><li>Bowl</li><li>Spoon</li></ul> <h2>Preparation</h2> <ol> <li>Measure the ingredients.</li> <li>Mix them: <ul><li>Stir gently.</li><li>Check the consistency.</li></ul> </li> </ol> <h2>Recipe details</h2> <dl><dt>Preparation...