The HTML Elements reference

"ul" - html element

  • This element defines an unordered list.
  • Starttag <ul> is Required and endtag </ul> is Required
  • The element contains one or more 'li' elements that define the actual items of the list.
  • Browsers that support the ul - element : Internet Explorer Mozilla Firefox Opera Google Chrome Apple Safari
Element "ul" example:
<body bgcolor="#eeeeee">
<h2>White Varietals</h2>
<ul>
<li> Chardonnay</li>
<li>Chenin Blanc</li>
<li>Fumé Blanc</li>
<li>Gewürztraminer</li>
<li>Grüner Veltliner</li>
<li>Marsanne</li>
<li>Muscat</li>
<li>Pinot Blanc</li>
<li>Pinot Gris</li>
<li>Reisling</li>
<li>Sauvignon Blanc</li>
<li>Sémillon</li>
<li>Trebbiano</li>
<li>Viognie</li>
</ul>
</body>


Attributes:
class , compact (deprecated), dir , id , lang , style , title , type (deprecated)

Attribute "class" value(s): A list of style class names that must be separated by white space characters.
  • This attribute assigns a style class name or set of style class names to an element. Any number of elements may be assigned the same class name or names.
  • You will find more about this in the CSS learning on this site.



© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.