[ Index ] [ Next ]
Example 1a. This is a simple HTML document. The main text-layout of the document-source is reproduced between the 2 lines below. The keywords in brackets (called parentheses) are called HTML tags.

<HTML> <HEAD> <TITLE>HTML PRIMER 1a: SIMPLE HTML EXAMPLE</TITLE> </HEAD> <BODY> <B>Example 1a.</B> This is a simple HTML document. The main text-layout of the document-source is reproduced between the 2 lines below. The keywords in brackets (called parentheses) are called HTML tags. </BODY> </HTML>
HTML tags should be written in CAPITAL LETTERS for clarity - capitalised tags make the source code much easier to review and alter where necessary.

A document must include pairs of tags for HTML, for HEAD and for BODY (ie. starting <...> and finishing </...> tags) in order to be readable by all Internet browsers. Additionally it should have TITLE tags nested within the HEAD for the screen to show a title in the topmost (blue) line.