HTML ul tag

HTML <ul> tag defines unordered list. In unordered list, the order of items is not necessary. For instance, the ingredients of a recipie.

<p>ingredients:</p>
<ul>
 <li>Plain Dad's Chicken Breast
 <li>1 cup canned tomato sauce
 <li>half cup ketchup
 <li>2 tsp. bown sugar
</ul>
</>

ingredients:

  • Plain Dad's Chicken Breast
  • 1 cup canned tomato sauce
  • half cup ketchup
  • 2 tsp. bown sugar

Tag omission

Both starting and ending tags are necessary for the ul tag.

Global Attributes

All global attributes are applicable on the ul element.



Was this article helpful?