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 > The Structure of a Document

  The Structure of a Document

Every HTML document, by its very creation, has two main parts: a head and a body. Even if they are not explicitly identified, HTML assumes their existence. HTML also offers the chance to add additional functional components to the page in the form of style sheets, scripts and frame sets.

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

The BODY is what the end user sees when the document is rendered on the browser. It Includes text and objects, such as images and applets, along with markup tags to define their structure and relationship to each other.

There are three more optional components in the HTML document structure: style sheets, script and frame sets.

Two tags exist outside the document structure : <!DOCTYPE> and <HTML>; they are a part of the definition of an HTML document.
Although <!DOCTYPE> is required by HTML4, <HTML> is optional.

  HTML Tags

HTML tags are commands written between angle brackets ( < > ), that indicate how the browser should display the text. There are opening and closing versions for many tags, and the affected text is contained between the two tags. Both the opening and closing tags use the same command word but the closing tag carries an initial extra forward slash symbol "/". Many tags also takes attributes, and the available attributes vary according to the tag.. Most tags have more than one possible attribute.

  Scripting

When you need to your web site to be interactive, i.e., if a visitor needs to give your page some kind of input, then you'll have to write a script to interpret the visitor's responses.

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