| 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 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.
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.
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.
|
|