You create a file and put special character sequences called HTML elements into your file. These elements identify the structural parts of your document. When a Web browser displays the file, it will display your file’s content, but not the characters that make up the structure.
Here is an example:
<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">
A Small Hello
<P>This is very minimal "hello world" HTML document.</P>
Only the elements that you place in the BODY element (that is, between <BODY> and </BODY> ) ever get displayed in a Web browser’s window.
In this example, only the contents of the H1 element (between <H1> and </H1> ) and the P element (between <P> and </P> ) are displayed.