Untitled Document



 Introduction to HTML
 Structure of HTML
 Creating First HTML  Document
 Understanding Basic  HTML Tools
 Creating First HTML  Document
 Understanding Basic  HTML Tools
   HTML Editors
 Web Browsers
 Starting an HTML  Document
 
 Starting an HTML  Document
 The <!DOCTYPE>  Declaration
 Setting the  boundaries With  <HTML> Tag
   The HEAD Element
   <TITLE> Tag
 A <BASE> for  Hyperlinks
 Showing  Relationships with  <LINK>
 Using <META>to give  More information
 The BODY Element
 
   The Body Element
   <BODY> Tag
 Breaking a Body into  Pieces
   Headings <Hn>
 A New Paragraph <P>
 A New Line <BR>
 Using Horizontal Rulers
 
 Using Horizontal  Rulers
 The STYLE Element
 
 The STYLE Element
 The SCRIPT Element
 
 The SCRIPT Element
 Head and Body tags
 Building Your HTML  Document
 Tables
 Frames
 Including Images into  Document
 Including Multimedia
 Developing HTML  FORMS
 Using Style Sheet
 Understanding URLs
 Using JavaScript
 Using Java

Copyrights : Layout Galaxy All Rights Reserved
No part of this tutorial may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, electrostatic, magnetic tape, mechanical or otherwise, without prior permission in writing from Layout Galaxy.




  Creating First HTML Document > Using Horizontal Rulers

  Using Horizontal Rulers

Horizontal lines are easy-to-use elements for dividing a page into logical sections.

Syntax:

<HR> [width=linewidth][size=lineThickness][noshade][align=left…][core][events]>

Here, linewidth and lineThickness are given in pixels. But, you can mention it in % also. (percentage of browser window width).

Example:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http: //www.w3.org/TR/REC - html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>
Layout Galaxy Home page
</TITLE>
</HEAD>
<BODY>
Welcome to Layout Galaxy Home page.
<HR align="right">
<BR>This is page starts with the first lesson of your HTML Training Program
<HR width=50%>
<BR>and the other lessons of the training program <HR size=5>
<BR> which offers you an exhaustive and easy go.
<HR size=5 noshade>
</BODY>
</HTML>

Back Next


Copyrights : Layout Galaxy All Rights Reserved
No part of this tutorial may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, electrostatic, magnetic tape, mechanical or otherwise, without prior permission in writing from Layout Galaxy.




17, Vadsarvala Nivas, 65-A, J. Nehru Road, Mulund (W), Mumbai - 400 080 INDIA
Tel : 91-22-25795588, 91-22-25780444 Fax : 91-22-25793397
Email : ionline@vsnl.com
© Image Online 2001-2003