This section will explain how to input the HTML elements given above.
Most HTML Web documents fall into this basic mold:
<HTML>
<HEAD>
<TITLE>Your Title Here</TITLE>
</HEAD>
<BODY>
This section contains your Web page’s layout structure and content. Basically, whatever you enter here will appear on screen in a standard World Wide Web browser.
</BODY>
</HTML>
To start off with, lets take an example on how to interpret the HTML overview and place it into working HTML code to your Web documents. For the most part, all HTML elements are placed within the <BODY> tags.
Example: DIV – Logical division (Common attributes include ALIGN=”left”, “ALIGN=”center”, and ALIGN=”right”)
To make text centered you type <DIV ALIGN=”center”>your text here</DIV>. (Although you can use the <CENTER> tag to center text, graphical and other elements, the tag is deprecated in HTML 4.0.)
All HTML element tags generally begin with an opening tag (in this case, the <DIV ALIGN=”center”>) and end with a simple forward slash followed by the HTML element (the “</DIV>” tag here). Your code must contain beginning and ending tags for the intended view of your Web page.
Make sure there are no “nesting errors” (i.e. <FONT size=”2″><BIG>Hello World!</FONT></BIG>) existing in your code. If there are nesting errors, your page might not function correctly. (The correct version of the given example would be <BIG><FONT SIZE=”2″ FACE=”Arial”>Hello World!</FONT></BIG>.)