AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP, SQL
HTML Tutorial

HTML List


HTML Tutorial » HTML List

HTML contains some useful tags for displaying content as lists. This makes the text easier to read and highlight.
HTML offers three ways to specify information lists. All lists must contain one or more item lists.

The types of lists that can be used in HTML are:
ul: An unordered list. It will list the items in a box.
ol: A ordered list. This will use different number schemes to list your items.
dl: A list of definitions. This arranges the articles in the same way they are arranged in a dictionary.

HTML List Example

An Unordered List:
  • Item2
  • Item1
  • Item4
  • Item3
An Ordered List:
  1. First item
  2. Second item
  3. Third item
  4. Fourth item


Unordered HTML List - examples


Unordered lists - UL
An element often used in the formation of (unordered) lists is <ul>.
- <ul> is the beginning element and after writing the list it ends with </ul>.
- Most items for markers and numbering are composed of one or more elements <li> ... </li> (list element). By default, they are marked as a bullet.


Example:
Example 1, Unordered HTML List - example

<!DOCTYPE html>
<html>
<head>
<title>Unordered HTML List - example</title>
</head>
<body>
<h1>Unordered HTML List - example</h1>
<ul>
<li>Item2</li>
<li>Item3</li>
<li>Item1</li>
</ul>
</body>
</html>


Ordered HTML List ol - examples


Another element used for list formation is <ol>.
It displays the numerically ordered lists.

Example: Ordered HTML List ol - examples:
<!DOCTYPE html>
<html>
<head>
<title>Ordered HTML List ol - example</title>
</head>
<body>
<h1>Ordered HTML List ol - example</h1>
<ol>
<li>Item1</li>
<li>Item2</li>
<li>Item3</li>
<li>Item4</li>
</ol>
</body>
</html>


html list, style, tag, types, with bullets, without bullets, box, inside list, select, template, generator
HTML List - html tutorial

Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


HTML Img Background
HTML Image Link
HTML Image Size
HTML Text Style
HTML Text Align
HTML Text Size
HTML Text Color Style
HTML Text Color
HTML Table Color
HTML Table Row Colspan
HTML Table Width
HTML Table Style
HTML Table Border
HTML Table
HTML Font Face
HTML Font Size
HTML Font Color
HTML Headings
HTML div border color
HTML div class
HTML class container
HTML form action
HTML comment
HTML link new tab
HTML link underline
HTML link tag
HTML button action
HTML button onclick
HTML button link
HTML table style
HTML image
HTML colors
HTML div style
Text, paragraf in HTML
HTML Tags Attributes
HTML - Elements
HTML Introduction
Home HTML Tutorial
Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.