4
   

How do I create a bullet and number list in HTML?

 
 
Fri 20 Apr, 2012 04:35 am
I am working on the website . How can i create a bullet and number list in html . Please share your relevant answers.
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 4 • Views: 10,021 • Replies: 5
Topic Closed

 
jespah
 
  3  
Fri 20 Apr, 2012 05:38 am
@Andy blunt,
Bulleted (unordered) lists are done as follows
E. g. if you want to see
  • dog
  • cat
  • horse


Code as follows
<ul>
<li>dog</li>
<li>cat</li>
<li>horse</li>
</ul>

For a numbered (ordered) list, do as follows
E. g. if you want to see
  1. dog
  2. cat
  3. horse


Code as follows
<ol>
<li>dog</li>
<li>cat</li>
<li>horse</li>
</ol>
DavidDunbar
 
  -1  
Wed 22 Aug, 2012 06:29 am
@jespah,
To create a bullet and number in HTML the tag is used is
<ul>
<li>man</li>
<li>cat</li>
<li>book</li>
</ul>
or
<ol>
<li>man</li>
<li>cat</li>
<li>book</li>
</ol>
you can use the above tags according to your requirement.

0 Replies
 
RudraPal
 
  0  
Tue 26 Nov, 2013 06:27 am
Use any HTML editor for get bullet and number list in HTML.
you can simply get all the code and use it at your project.
0 Replies
 
swastik
 
  0  
Wed 27 Nov, 2013 06:52 am
@Andy blunt,
According to my point of view, you can use Html rich editor for your site by the rich editor you can use many types of the function directly. By the editor you can get an html code then you apply to your sites. as use of this site. In rich editor one html option to get html code.
0 Replies
 
jyotisingh
 
  -1  
Wed 17 Apr, 2019 04:11 am
@Andy blunt,
To create a bulleted list
<ul>
<li>Example1</li>
<li>Example2</li>
<li>Example3</li>
</ul>
• Example1
• Example2
• Example3
To create a number list
<ol>
<li>Example1</li>
<li>Example2</li>
<li>Example3</li>
</ol>
1. Example1
2. Example2
3. Example3
0 Replies
 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » How do I create a bullet and number list in HTML?
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.1 seconds on 12/21/2024 at 10:12:52