Jump to content

  • Free consultations and support
  • Live chatClick Here for Live Chat
  • Call ico 1888-906-1888
    Phone support: Open

    Ready for your call :)

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

    Phone support: Closed

    We are back in: 1h 20m

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams


How to create ordered lists in HTML5

create in html5 ordered numbered lists

  • Please log in to reply
&nsbp;

#1 OneDes

OneDes

    Senior Member

  • Designer
  • 282 posts

Posted 26 January 2013 - 05:07 PM

To create ordered lists with numbers in HTML5 do the following:

1.In your HTML5 <body> tag, assign the beginning of your list with <ol> which indicates unordered bullet list
2.For each item in the list use the tags <li></li>.

<ol>
<li>Text1</li>
<li>Text2</li>
<li>Text3</li>
</ol>

You can create ordered nests of lists inside each other like this
<ol>
<li>Text
<ol>
<li>subText1</li>
<li>subText2</li>
</ol>
</li>

<li>Text2
<ol>
<li>subText1</li>
<li>subText2</li>
</ol>
</li>
</ol>

#2 RupaDesign

RupaDesign

    Banned

  • Banned
  • 28 posts

Posted 19 April 2013 - 08:07 AM

Thanks dear, you post is really useful.

Can you also help me to manage it by css codeS?

#3 uzmasgh

uzmasgh

    Member

  • Designer
  • 45 posts

Posted 18 June 2013 - 02:40 PM

two tags <ol> and second is <li>





Also tagged with one or more of these keywords: create, in html5, ordered numbered lists

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users