HTML Lists

 



Types of HTML Lists

  • Unordered List: An unordered list is used to create a list of items that are not in any particular order. Each list item is marked with a bullet point.

  • Ordered List: An ordered list is used to create a list of items in a specific order, typically indicated by numbers.

  • Definition List: Organizes items in a format similar to a dictionary, with terms and their corresponding definitions.

An Unordered List

  • An unordered list is used to create a list of items that are not in any particular order. Each list item is marked with a bullet point.

cwh tutorial image


An Ordered List

  • An ordered list is used to create a list of items in a specific order, typically indicated by numbers.

cwh tutorial image

A Definition List

  • A definition list arranges items in a way similar to a dictionary, with a term followed by its definition. This is useful for glossaries or to display metadata.

cwh tutorial image

Related Posts:

  • block level element What are Block-level Elements?Block-level elements are those that start on a new line and take up the entire width of their container by default… Read More
  • iFrames in HTMLWhat is an iFrame?An iFrame is an HTML element that enables an inline frame for the embedding of external content. Essentially, you can load another w… Read More
  • Video & Audio Tags<video> TagThe <video> HTML element embeds a media player that supports video playback into the document.The <video> tag create… Read More
  • Link & Script TagsThe <link> and <script> tags are essential elements within an HTML document's <head> section. The… Read More
  • SVG in HTML What is SVG?SVG stands for Scalable Vector Graphics. Unlike raster images like PNGs or JPGs, SVGs are not pixel-based. They're composed of vector… Read More

0 Comments:

Post a Comment

Do leave your comments