Basic Framework of an HTML Web Page

HTML Web Page Basic Framework

There are three sets of tags that are mandatory for almost any web site. Before I get ahead of myself, let me explain what a tag is. HTML uses “tags” to let web browser’s know what to display. Tags occur between left and right angle brackets (< and >). Anything that is not a tag is generally going to show up on your web page. The tags control how the rest shows up.

Tags generally come in sets. There is the <TAG>, and the </TAG>. The </TAG> with the slash is the closing tag. In many cases, you don’t want a tag to last forever, such as when bolding text. So you must remember to close your tags. In many cases, problems with your HTML will boil down to a misspelled or improperly closed tag.

So the three sets of mandatory tags are:

<HTML> </HTML>

<HEAD> </HEAD>

<BODY> </BODY>

Your HTML document will begin with the <HTML> tag and end with the </HTML> tag. It’s a good practice to create both at once and then space the closing tag down several lines to keep it out of the way. The <HTML> tag declares to the browser that this is in fact an HTML document.

The <HEAD> section comes first, as this is the header for your page. There are several special little things that can be put in the header that deal with your page’s formatting as well as keywords, descriptions, etc that can be indexed by search engines. There is also the all-important <TITLE> tag. We will go over the header more in another section.

The <BODY> section is the meat and potatoes of your web site. What happens between <BODY> and </BODY> pretty much makes up your whole web site, as far as what is visible to the viewers. There are many things that can be done within these tags, and we will also take a look at these soon.

So your basic skeletal framework for a web page is thus:

<HTML>

<HEAD>

</HEAD>

<BODY>

</BODY>

</HTML>

Make sure that you save your HTML document with a .html or .htm extension!

On the next HTML tutorial, we will cover the Header section of the HTML-based web page. Stay tuned…



If you like "Basic Framework of an HTML Web Page,"
please consider linking to this article:

One Reply to “Basic Framework of an HTML Web Page” »
Avatar
November 28th, 2011 at 3:29 pm

Malgre de l’ immobilier le site immobilier de petites annonces immobilieres qui s’en sort et qui grimpent tirent sa chandelle du jeu

Leave a Reply




(spam protection)
Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Subscribe without commenting

« Previous
« Creating Basic Web Page with HTML Tutorial | Up Top | Between the HEAD Section of an HTML Web Page »
Recent Comments
reverse cell phone lookup: Thank you for this nice post you have given us here. Certainly is really a great resource...
cell phone number lookup by name: Thanks for this great site which is very useful to my mobile phone number search...
Web Design: Web design is the process of designing, developing and managing exceptional standard based websites — a...
reverse cell phone lookup: Thank you for this nice post you have given us here. Certainly is a great resource that...
mobile phone number lookup: Thanks for this great site that is very useful to my mobile phone number lookup page
name phone number lookup: Thanks for this great site that’s very useful to my phone number lookup page
SiteInfo: Your site has automatically been added to siteinfo, take a look at what information we have on your site...
amorenlinea: This is the right blog for everyone who really wants to find out about this topic. You realize a whole...