Step 4: Dividing the Page into Sections
Dividing the Page into Sections The HTML <div> and <section> tags define a division or a section in an HTML document. They are used to group block-elements to format them with CSS.
- Add the following code to the body.
<div id="header"> </div>
<div id="navigation"> </div>
<div id="content"> </div>
<div id="footer"> </div>
Picture X.10: The divisions of the Web page.
Picture X.11: The visiual presentation of the HTML divisions.
IntelliSense: When you start typing the codes, a list pops up offering suggestions. It makes you more productive. After selecting your code, you can use the Enter or Tab key to commit it to your page.
Visit the site http://www.w3schools.com/html/default.asp and other similar sites to learn HTML basics (Picture X.12).
Picture X.12: An online HTML tutorial.