H I O X INDIA
FREE ADVANCE HTML Tutorial
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Templates 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)
Español Français 中文 Deutsch Portuguese Japanese தமிழ்
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

HTML Basic
Introduction
How To
HTML Tags
html, head, body
Text Manipulation
IMAGES
Special Effects
Using Tables
Forms
Other Topics



ADVANCED HTML
Introduction
Media
Meta Tag
Frame tags
Fieldset
Tooltip
DTD
Image tags
Subscript & Superscript
Bullet styles
Canvas
Other tags
Ask Your Doubts
More about HTML
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-2010 HIOX INDIA

Other Links