|
Each element of a major HTML document has
its own unique structure and requirements that are reflected
in the purpose defined for that element.
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.
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.
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.
|
|