Untitled Document



 Introduction to HTML
 Structure of HTML
 HTML Terminology
   Attribute
   Browser
 Document Type  Definition (DTD)
   Element
   Tag
 Scripting Software
 The Structure of a  Document
 
 The Structure of a  Document
   HTML Tags
 Scripting
 Structure of a Section
 
 Structure of a  Section
 HEAD and BODY  Structure
 FRAMESET Structure
 Substructure of the   elements
 
 Substructure of the  elements
 Creating First HTML  Document
 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.




  Structure of HTML > Structure of a Section

  Structure of a Section

Each element of a major HTML document has its own unique structure and requirements that are reflected in the purpose defined for that element.

  HEAD and BODY Structure

The structure of the head and body of an HTML document are similar, a specific order or layout is not dictated. The difference is that the elements of the head exist as siblings, but the body can create a hierarchy of parents and children. All elements in the head are of equal importance.

Consider this simple body content.

<BODY>
<H1>Introduction to HTML</H1>
<P> Welcome to the World of Web Designing Using HTML.</P>
</BODY>

In this Exercise you learn the basic structure of an HTML Document.

HTML, a text-only markup language used to describe hypertext page on the World Wide Web, describes the structure of a page, not its appearance.

The HEAD element includes a variety of information for the browser, including a title for the document, key words, link words, link information and other information.

The BODY is what the end user sees when the document is rendered on the browser.

You can see the basic structure of an HTML document.


  FRAMESET Structure

A <FRAMESET> is a special type of body element that, by its definition, can contain frames and frame sets only. Its contents are much more than the body. However, the hierarchy established by the placement of a <FRAMESET> evolves in the same way as a <BODY> element.

In the following lines, each of the two FRAME elements are siblings and children of the FRAMESET element:

<FRAMESET>
               <FRAME>
               <FRAME>
</FRAMESET>

To add another frame set with another frame to the configuration, write the following code:

<FRAMESET>
       <FRAME>
       <FRAME>
           <FRAMESET>
                    <FRAME>
           </FRAMESET>
</FRAMESET>

There are two additional FRAME elements and one FRAMESET, which are siblings and children of the first FRAMESET. The sibling FRAMESET also has a FRAME child of its own, making it a grandchild of the first FRAMESET. HTML recognizes this kind of hierarchy as it's implemented in browsers.

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