H I O X INDIA
FREE HTML Tutorial
Google
Web hscripts.com
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Directories 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)   Bookmarks :-)  
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

HTML Tutorial
Introduction
How To
HTML Tags
html, head, body
Text Manipulation
IMAGES
Special Effects
Using Tables
Forms
Other Topics
Ask Your Doubts
Feedback





HTML Text Handling


Topic

How to draw a horizontal line in html?
How to use lists in html?



Explanation


Horizontal Line: <hr>
This is special tag used to draw new horizontal lines.
It doesn't require closing tags.


This tag has the attribute "width" to specify the width of the line
<hr width=60%> will give the below line



Lists:
Un Ordered Lists: <ul> , <li>
Tag to create a list of items.
Code:
<ul>
<li>List1</li>
<li>List2</li>
</ul>

Result:
  • List1
  • List2

Ordered Lists: <ol> , <li>
Tag to create a list of numbered items. The numbering will be done automatically.
Code:
<ol>
<li>List1</li>
<li>List2</li>
</ol>

Result:
  1. List1
  2. List2

Nested Lists: <ul> , <li>
Code:
<ul>
<li>List1</li>
   <ul>
   <li>Sub List1</li>
   <li>Sub List2</li>
   </ul>
<li>List2</li>
</ul>

Result:
  • List1
    • Sub List1
    • Sub List2
  • List2




privacy policy     license     sitemap
© 2004-2005 HIOX INDIA - hioxindia.com

Other Links