answersLogoWhite

0

What is HTML to list?

User Avatar

Anonymous

13y ago
Updated: 8/19/2019

To make a numbered list in HTML, use the following code:

<ol>

<li>This would be item 1</li>

<li>This would be item 2</li>

<li>This would be item 3</li>

<li>And so on...</li>

</ol>

The <ol> tag starts the numbered list, while the </ol> tag ends it. Each <li> tag starts a new item in the list. Each </li> tag ends an item in the list. Just be sure to remember to close each list item before beginning the next one or before ending the whole list, otherwise your list will not format properly.

For a list without numbers (a bulletpoint list), simple replace the <ol> tag with a <ul> tag, and the </ol> tag with a </ul> tag.

Hope this helps! :)

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is a list in HTML?

A list in HTML defines a collection of items. List can be ordered (OL) or Unordered (UL).


Which of the list style types in HTML markup is the square style?

In HTML markup the square in a List is:In CSS the CSS Sheet would include this for a square List item:ul.square {list-style-type: square;}


Where can one find a list of WYSIWYG HTML editors?

There are many places where one can find a list of suitable WYSIWYG HTML editors. This includes books dedicated to HTML as well as blogs and forum posts.


A list of rainforests?

www.a_to_zrainforestlistings.com/list1.html


List of color codes in HTML?

Link below


How many HTML Lists?

Lists in HTML are of 2 types i.e. UL and OL. UL defines the unordered list whereas OL defines ordered list.


Where can you find a list of all the NYC mayors?

http://www.nyc.gov/html/nyc100/html/classroom/hist_info/mayors.htm there :)


What does the code li mean?

list item. it is the child of either &lt;ul&gt; - unordered list, or &lt;ol&gt; - ordered list in html


Where can one find a list of special characters in HTML?

One can find a list of special characters in HTML when one goes to the website of the University of Texas. There is a special page entitled "HTML characters". There one can find the special characters as well as their meanings.


What is the full form of li in HTML?

It stands for List Item.


According to the W3C HTML list elements may never be nested?

False. It is very possible to nest HTML list elements. Actually, The W3C actually recommends you nest HTML list elements for many reasons - to include a larger range of browser support, larger range of operating system support, and such.


How do you change the background of a bulleted list in HTML?

&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt; &lt;head&gt; &lt;style type="text/css" media="screen"&gt; ul { background: #FFFFFF; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;/body&gt; &lt;/html&gt;