Basic HTML Document Structure
Begin writing your HTML tags by creating your document's basic layout. Copy and paste this code into your text or HTML editor.
<HTML> <HEAD> <TITLE>Your Page Title</TITLE> </HEAD> <BODY>
This area will contain everything that will be visible through a web browser, such as text and graphics. All of the information will be HTML coded.
For a complete list of HTML codes and examples, see the HTML chart below.
</BODY> </HTML> |
<HTML> - Begins your HTML document.
<HEAD> - Contains information about the page such as the TITLE, META tags for proper Search Engine indexing, STYLE tags, which determine the page layout, and JavaScript coding for special effects.
<TITLE> - The TITLE of your page. This will be visible in the title bar of the viewers’ browser.
</TITLE> - Closes the <TITLE> tag.
</HEAD> - Closes the <HEAD> tag.
<BODY> - This is where you will begin writing your document and placing your HTML codes.
</BODY> - Closes the <BODY> tag.
</HTML> - Closes the <HTML> tag.