Monday, 7 January 2019

CREATING AN ORDER LIST AND UNORDERED LIST

CREATING AN ORDERED LIST
     
               - Launch Notepad
             
        - Type the following code;



                 - Save your file as ordered-list.html
     
      - test your file in a browser

       output:









Creating Unordered list

             - Open the ordered-list.html file
     
        - Add the following code after the ordered list                         closing tag (</tag>):


                       - save the file.
    
       - open it in browser


          output:





NOTE:

              THE LIST ELEMENT IS ALSO USED IN PAGE NAVIGATION TO LINK OTHER CONTENTS OR PAGES WITHIN THE WEBSITE. A NAVIGATION BAR IS A LIST OF LINKS. THIS IS WHY THE MOST SEMANTIC WAY OF MARKING UP A LIST OF LINKS IS TO USE A LIST ELEMENT. IT ALSO HAS GREAT ADVANTAGE WHEN IT COMES TO PROVIDING STRUCTURE.





LIST - This is a series of names, words, or other items written, printed, or imagined one after the other.

<OL> - This defines an ordered list of items.

<UL> - This defines an unordered list of items.

<LI> - This is used for specifying a list item.




CREATING AN ORDER LIST AND UNORDERED LIST

CREATING AN ORDERED LIST                      - Launch Notepad                       - Type the following code;                 ...