This is a simple HTML exercise for beginners to make order list in web page. The <ol> tag defines an ordered list. An ordered list can be numerical or alphabetical.You can use the <li> (list item) tag to define list items.
Source Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> Html Unorder List </title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
<h1> ANDEVELOPER </h1>
<ol>
<li> C++ </li>
<li> Java </li>
<li> Html </li>
<li> Php </li>
<li> CSS </li>
<li> Android </li>
<li> Linux </li>
<li> SEO </li>
</ol>
<h2> AN_DEVELOPER </h2>
<ol start = "20">
<li> C++ </li>
<li> Java </li>
<li> Html </li>
</ol>
</body>
</html>
Output of the Program
![Order list Order list in html](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUIL9vV_fiTHEVweD6i9J9nK-bE6eRveC_hhY_wl-TDHMQKf_kuDoofYfgzkAYQxat8C4smYJjafKhSz7pfAHq3iYRw2uEj8hiSQhChWMyYBXEvR1qKwg_DoaJnKylNkb0CeTwczAla7E/s1600/Capture.PNG) |
Order list in html |
Asad Niazi is Software Engineer , Programmer, Web Developer and a young mentor of
BloggersTown and PProgramming. Asad Love to writes about Technology, Programming, Blogging and make money online.
0 comments:
Post a Comment