In this lesson we're going to go over the structure of a basic HDMI document this structure will be
the foundational building block of any H2 UML web page we'll start off with a very simple page and add
several elements to it.
As we progressed through this section before we begin you'll need to open notepad plus plus if you're
on on a Windows machine or text wrangler if you're on a Mac
once you have the text editor open willing to open the file corresponding to this lesson from the downloads
folder so would a file open
and open the file
with the file open.
Let's go over each element in the instructions they convey to the web browser.
First of all the document begins with the doc type h t email tag this tag tells the browser that the
markup of the language in which the page is written is HDMI l.
Keep in mind that there are different types of HDMI standards when it comes to coding your web page
some HMO standards are quite strict and instruct the browser to follow a very strict set of rules when
passing in interpreting the code.
An example of this is X HMO the X HMO standard will check to make sure all your open HMO tags have corresponding
closing tags and you'll understand what that means in just a moment.
There are many other compliance measures that make up the X HMO markup.
It's not necessary to explore all of these because for the purpose of this course we'll be using the
HMO five standard this standard is more flexible in its compliance requirements among browsers and is
also the most widely used previous versions of HMO such as HMO four are even more flexible but lacks
some of the new features inherent with HMO five we'll learn about some of these new features as we progressed
through the course immediately after the doc type declaration comes the open HMO tab.
The HMO tag is the building block for our page most other tags will be nested within the open HMO tag
in the closing HMO tag.
Keep in mind that an open tag must be closed to defined the ending of the HMO page please note that
when we work with other nested languages such as P P the P P code can be inside or outside the HMO blocks
however for now all the tags we work with will be nested inside the HMO open tag in the closed HMO type.