The next command we will explore is the heading command. The heading command is used to put predominant titles on your web page in larger, bolder text then the normal font. This can also be done using the bold command and the font size command but that will be discussed later in this book. If you do not have a logo for your web page then the pages title should also be on the top of the page with the biggest heading possible. Other items on web page that signal a section beginning or that you feel are important should be made into a heading.
There are 6 different types of headings and they are distinguished by the number 1 through 6 inserted in the heading command. The 1 represents the biggest heading. This heading is normally used for titles at the tops of web pages or sections of a web page (if the title is a logo and is not in a text form). If there is a title on a web page the biggest sections on that page would normally be distinguished by a 2, since a 2 is the second biggest heading. And so on. Normally you will use the number heading that you feel looks best on your web page. Remember that the headings on your web page should be respective of one another. For example, you don’t want a head for the title that is 3 and then a heading for the section name that is 1.
If you decided to make a web page without a banner and the web page’s is the title of the web page. The way that we would do this is to put an angle bracket “<“ then the letter H and a 1 (1 is the size so if you wanted something on your web page with a 3 you would use the same format just replace the two numbers) then an angle bracket “>”. Then insert the text “Justin Weber’s Computing Center.” Next insert the command to tell the web browser that you are done with the text to be in the heading section. In order to do this, type an angle bracket “<“ then a slash “/” then the letter H and the number 1 then another angle bracket “>”. The final source code for this heading would look like this:
<H1>Justin Weber’s Computing Center</H1>
Let’s say that you had a subsection in my page called the proper use of a computer. you do not want the section to appear as big as the title but since it is quite a large section you want it to appear fairly large. I decide that a 2 would provide the difference you need between the two sections. In order to enter your title in the sub section first you would enter the title command which was already entered then you would replace the title with the text The Proper Use of a Computer and the 1’s with 2’. Since these are headings you do not have to insert a break command or a paragraph command to make them appear on separate lines. The final source code for this document would look like this: