Creating Ordered List And Unordered List Using HTML | Tutorial

Creating Ordered List And Unordered List Using HTML Tutorial

There are 3 types of list in HTML

  • Ordered List
  • Un ordered List
  • Definition List

Source

<html>
      <head>
	     <title>list type</title>
	  </head>
	       <body>
		   <h1>ordered list </h1>
		     <ol type="A" start="1">Browser
			 <li>chrome</li>
			 <li>firefox</li>
			 <li>ie</li>
			 <li>safari</li>
			 </ol>
			<h1>un ordered list</h1>
              <ul type="disc"> colors
                    <li>red</li>
                     <li>green</li>
                     <li>blue</li>
                </ul>
             <h1>Definition list </h1>
              <dl>
                  <dt> HTML </dt>
                   <dd> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.	</dd>
                   <dt> CSS</dt>
                    <dd>This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</dd>
                 </dl>				 
			 
		   </body>
</html>

 

You May Also Like

About the Author: Ranjith Kumar A

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x