What is HTML Order and UnOrder List Item - Yes Edu

Hot

Make Money

Sunday, 22 January 2017

What is HTML Order and UnOrder List Item

An ordered list represents with <ol> tag, and every list item starts with the <li> tag.
The ordered list will be represent in browsers in order (1.2.3.4…..)
An unordered list represents with <ul> tag, and every list item starts with the <li> tag.
The unordered list will be represent in browsers in a “small black circle”

Notpad++ view (Html code)
<!DOCTYPE html>
<html> 

<head>
              <title>Html Image</title> 
</head>
<body>

<h1>The Food i dont Eat</h1>
<ul>
  <li>Cherry</li>
  <li>Tea</li>
  <li>Olive</li>
  <li>Dates</li>
  <li>Eggs</li>
  <li>Fish</li>
  <li>Grapes</li>
  <li>Honey</li>
  <li>Noodles</li>
</ul>

<h1>The Food i Eat</h1>
<ol>
  <li>Apple</li>
  <li>Peaches</li>
  <li>Milk</li>
  <li>Almond</li>
  <li>Bread</li>
  <li>Cheese</li>
  <li>Chicken</li>
</ol>

</body>
</html>

Browser View


No comments:

Post a Comment

Post Top Ad

Your Ad Spot