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 > The STYLE Element

  The STYLE Element

The style element holds a place in the HTML document for setting all the properties that control its appearance, including font selection, color, alignment, and borders. The <STYLE> tag is supported by two W3C recommendations on cascading style sheets.

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>
<STYLE>
<!
body { font-family : "Comic Sans MS", Technical, "Times New Roman", serif }
-->
</STYLE>
</HEAD>
<BODY>
<H1> Training Method</H1>
<P> The Training Methods are designed in such a way that user can feel more comfortable by it.
<HR>
</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