HTML basic structure tags

This is the basic layout of every HTML web page:
  • <html> officially declares the language used.  Just because this is the current "official" language of web pages doesn't mean it still will be 5 years from now!
  • <head> information in the heading of a web page is not displayed on the page itself, rather it provides background information about the page itself, how it was created, the title, search engine information in META tags that offer keywords and a brief description of the webpage.
  • <title> is the most common element that should be in the head section of every web page, the page's title will appear when the page is bookmarked and is also displayed at the top of the browser window when viewing the page.
  • <META> tags offer additional information to search engines, the two most popular META tags to include are description and keywords.
  • <body> of a web page is the actual page itself
  • Every web page should have at least the following tags:
    <HTML> 
    <HEAD> 
    <TITLE>This is the title</TITLE> 
    </HEAD> 
    <BODY> 
    This appears on the page itself 
    </BODY> 
    </HTML>
    Notice that ALL of the above structure tags are 2-sided tags with an opening tag and a closing tag.  This can be very important!  Notice also that there is a nested structure to the tags...meaning that title is completely inside of head which is completely enclosed in the html tags.

    Additionally, you may want to add the most common META tags if you want to increase the likelyhood of being found by a search engine and you want to provide a description of your web page like this:

    <HTML> 
    <HEAD> 
    <TITLE>This is the title</TITLE> 
    <META name="description" content="a sample web page demonstrating the structure tags of HTML"> 
    <META name="keywords" content="HTML, sample, demonstrate"> 
    </HEAD> 
    <BODY> 
    This appears on the page itself 
    </BODY> 
    </HTML>

    All META tags are optional.  Other META tags include information about the program used to create a web page, the author of a web page, directions to the search engines to omit a web page from its index.