Pr.Pg Next Pg

<DIR> ..</DIR> Directory List tag tutorials

  • This is a paired tag. It requires opening and closing tags.

  • This stands for Directory List.

  • This tag allows you to display items with bullets symbols. It is used to display list items, which are separated by marked bullets and space. Making it convenient to refer.

  • Each list items to represent must be specified with <LI> tag. <LI> tag is optionally paired tag. So even if </LI> is not given, it works.

 

Syntax:

<body>

<dir>

<li>some text

<li>some text

</dir>

</body>

 

Example: HTML program to demonstrate directory list

Output:
Pr.Pg border                                              Next Pg