Creating headings and playing with Text
Now that you have successfully started with Notepad and HTML, lets move on to headings and Text stuff in your site.
We can divide the whole Website into headings, and there are a total of 6, starting from h1 to h6. The main heading, which is also the largest, is h1, and all others are subheadings.
Text can be modified using Bold and Italics effects as per your requirement. Usually, these are used to divide and make the Web document presentable, and its used to highlight important stuff.
HEADINGS
There are 6 headings in total, and they can be coded in the following form as shown.

After saving it as an HTML file, it would give the output in the Web-Browser as displayed.

Headings automatically include paragraph and break tags, which makes them easy to use. However, it is advisable to use them in order, and as per you browser interprets them.
Bold and Italic effects on Text
Bold tags are used to make your text as bold. You can use <strong> and </strong> tags for making the text bold. The effect of the following statement is shown below
<strong>Bold Text</strong>

For italicizing the text, you can use <em> </em> tags, and the effect of the tag is shown,
<em>Italicized Text</em>

The tags have been combined to generate a Bold + Italic output in above.
Posted in


