Thursday, August 31, 2017

Heading Tags

Heading

Heading tags are used to write a document or paragraph title through HTML. There are six types of heading tags in HTML that are <h1> </ h1>, <h2> </ h2>, <h3> </ h3>, <h4> </ h4>, <h5> </ h5> and <H6> </ h6>. If the title is written in a bigger size letter, then the text of <h1> </ h1> is written in the middle. And if you use others, the size of the writing will be gradually reduced.



Example Programs
<Html>
<Head>
<Title> www.tutohost.com </ title>
</ Head>
<Body bgcolor = "green">
<H1> This is an example of heading 1 </ h1>
<H2> This is an example of heading 2 </ h2>
<H3> This is an example of heading 3 </ h3>
<H4> This is an example of heading 4 </ h4>
<H5> This is an example of heading 5 </ h5>
<H6> This is an example of heading 6 </ h6>
</ Body>
</ Html>


Open a Notepad and enter the code at the top and save the file by clicking on Save as by clicking on File name: index.html, Save as type: All files, save index.html file with Mozilla Firefox, and look like a picture next to it

No comments:

Post a Comment

Flash Addition Tags

Flash Addition One of the most interesting elements of the Flash Animation Web site. Attractive navigation bars, banners, buttons, etc. t...