Unordered List

We use <ul> tag to define unordered list
Opening tag/Eng tag : Required/required

Example

<!DOCTYPE html>
<html>
<head>
<title>Creating list</title>
</head>
<body>
<ul type="circle">
<li>First list item</li>
<li>Second list item</li>
<li>Second list item</li>
<li>Second list item</li>
</ul>
<ul type="disc">
<li>First list item</li>
<li>Second list item</li>
<li>Second list item</li>
<li>Second list item</li>
</ul>
<ul type="square">
<li>First list item</li>
<li>Second list item</li>
<li>Second list item</li>
<li>Second list item</li>
</ul>
</body>
</html>
Output
  • First list item
  • Second list item
  • Second list item
  • Second list item
  • First list item
  • Second list item
  • Second list item
  • Second list item
  • First list item
  • Second list item
  • Second list item
  • Second list item

September 19, 2016 at 5:50 am | HTML | No comment