Professional Documents
Culture Documents
4. Hierarchical Structure
Tags are structured in HTML
with the hierarchy to be readable Because of its hierarchical
by developers and executed and structure, we could quickly
displayed well by browsers. The identify which tag is a child or a
document structure of an HTML parent of another tag. The
file follows the first in, last out hierarchical structure of an
(FILO) rule, which means that the HTML file can be compared to an
tag that starts first shall be the tag organizational structure of an
that ends last. Here is an example organization or a business, with a
hierarchy of who is on the top
[ it 304 – wst1 ] lesson 1: what is html and why is it important?
The <head>Tag
The <head>tag holds information
about the document and is
generally not displayed. Some
elements can be placed within the
head tag such as <link>, <meta>,
<title>, <script>, <base>, and
<style>which specify the
document’s metadata.
The <body>Tag
The <body>tag contains all other
tags and delimits the body section
of the web pages. This section is
the visible section when web
pages are executed in a browser.
Comments in HTML
Comments are a block of codes
that are not displayed in the
browser. Programmers use