How to Create a Heading Using HTML Codes
HTML--hypertext markup language--is a computer language that is used to create web pages. Websites and web pages are written in HTML code. Whether you are setting up a personal web page or a business web page, learning HTML code can be very beneficial. Knowing how to use the codes can help you manipulate your page settings. HTML documents contain plain text and have the .html or .htm extension. You can use headings to organize the information displayed on your page. This guide will teach you how to change your headings using HTML. It presents a very simple approach to customizing your page.
Instructions
-
-
1
Start the word processor or text editor that you will use to create your web page. Type<H?> in front of the text that you wish to make a heading.
-
2
Replace the question mark with the level number of the size heading that you wish to use. Use numbers 1 through 6 with the number 6 being the smallest and the number 1 being the largest.
-
-
3
Type </H?> at the end of the text that you wish to make a heading in order to close the sentence. Remember that the question mark is the number of the level of your heading. Levels 1, 2 and 3 are the most commonly used levels for web page and section titles. Level 4 is commonly used for the main text. Levels 5 and 6 are most commonly used for copyright information. Your text should look like the example below.<HTML><HEAD><TITLE>Balloon company</TITLE></HEAD><BODY><H2>This sentence is your heading</H2></BODY>
-
4
Open a new web browser and display your new heading. Ensure that the size of the heading meets your approval.
-
5
Type ALIGN=? after the heading tag if you wish to align your text. Replace the question mark with the direction that you wish to align your heading. For example, left, center or right. Your text should look like the following:<H1 ALIGN=left>This sentence is your heading.</H1>
-
6
Display your page in your web browser.
-
1
Tips & Warnings
Avoid using more than three different heading levels on your page.