Html list

Advertisements

Prev Tutorial Next Tutorial

Html list

Html list are used for arrange text in list format. Html provide three types of list.

  • Ordered List or Numbered List (ol)
  • Unordered List or Bulleted List (ul)
  • Description List or Definition List (dl)

Ordered List

Used for display data in order format like from 1 to 10 or from a to z.

Syntax

<ol>
<li>Java</li>
<li>Html</li>
<li>CSS</li>
<li>Angularjs</li>
</ol>

Result

  1. Java
  2. Html
  3. CSS
  4. Angularjs

Unordered List

This type of list display data in the form of list but just dot (.) display before line.

Syntax

<ul>
<li>Java</li>
<li>Html</li>
<li>CSS</li>
<li>Angularjs</li>
</ul>

Result

  • Java
  • Html
  • CSS
  • Angularjs

Description List

Syntax

<dl>
<dt>Java</dt>
<dd>Jdbc</dd>
<dd>Servler</dd>
<dd>Jsp</dd>
<dt>Html</dt>
<dd>CSS</dd>
<dd>JavaScript</dd>
</dl>

Result

Java
Jdbc
Servlet
Jsp
Html
CSS
JavaScript

Browser supported

Element
<li>YesYesYesYesYes

Prev Tutorial Next Tutorial

Google Advertisment

Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 9999595223

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

For Projects 9999595223

Google Advertisements


Buy Websites 9999595223

Buy College Projects with Documentation Contact on whatsapp 9999595223. Contact on: hitesh.xc@gmail.com or 9999595223 Try this Keyword C++ Programs

Advertisements