The instructions in an html file are contained in what are called tags, which are enclosed within left and right triangular brackets. The basic form of an html page is as follows:
<html> <head> <title>Some title</title> </head> <body> The main body goes here </body> </html>Your browser uses the instructions contained within the tags to display what is asked for - the actual tags themselves are not visible (you can see the source of an html page by choosing the View Source, or equivalent, menu item). Tags themselves are case-insensitive, and whitespace and linebreaks between tags are ignored - the above could also have been written as
<html><HEAD><title>Some title</tiTLE> </head><bODy> The main body goes here </body></html>
In this section we will just lay out some basic HTML tags to get one started - there are many references on the web that go into more detail. An especially good one is http://www.htmlhelp.org/.
There are two main parts to an html page - the head and the body. A basic use for the head is to put in a title:
<head> <title>Some title</title> </head>which will use Some title as the title of the page displayed in the title bar at the very top of the browser window. The main content of the page is found within the body section - we list below some common tags used in this section.