back next

Unordered Lists


Unordered lists look just like ordered lists in HTML except that the list is indicated using <ul>...</ul> tags instead of <ol>. The elements of the list are seperated by <li>


Example
<html>
<head>
<title> HTML Tutor </title><head>
<body>
<p>GIF images are used for several reasons:
<ul>
<li>GIF's Animation's
<li>Transparent Images or Colors
<li>Interlaced Pictures
<li>Images either few colors (less than 256)
</ul> </p>
</body>
</html>



Output
result




For the <ul> tag, the type attribute indicates the type of bullet used to mark each item.
type=disc default; A solid bullet
type=circle A hollow bullet
type=square A square bullet



Back to HTML tutor homepage | Back | Next | Email me