Creating a H1 and H2 Heading Aligned to the Center of the Page

Now that you have your website name you will need to come up with short description letting viewers know that you only cater to the rich and famous. This will be your h1 (website name) and h2 (short description) headings. Open the web page in Notepad you previously made or with it open in a browser select View > Source:

View Source

Between your beginning body tag (<body>) and ending body tag (</body>) type the following replacing my text with your website information:

H1 and H2 Heading

Save it an preview it in a browser.

To align the text to the center you will modify the h1 header by adding align = center to the tag:

Align to Center

No save it again then preview it in a browser. Your text should now be center aligned on the page.

Home