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.
@Andy blunt,
Bulleted (unordered) lists are done as follows
E. g. if you want to see
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
- dog
- cat
- horse
Code as follows
<ol>
<li>dog</li>
<li>cat</li>
<li>horse</li>
</ol>
@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.
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.
@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.
@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