Walk Lightly on this PLANET and yet leave such a FOOTPRINT that cannot be erased for thousands of Years..!!!
Visit Codstech for Cyber Security related Posts !

Visitors

Sunday, September 15, 2013

H7 - Types of Heading in HTML

Open note pad (wordpad or MS word) , then type the commands as given below : 
Save the file as . htm (dot htm) or   . html (dot html) .
Open any web page , and browse the created page  to view the  web page .
Refer HTML - An Introduction before creating any web page.
===============================================
<html>
<head>
<Title>Heading</title>
</head>
<body>
    <h1>Priyada Mohanan</h1>
    <h2>Priyada Mohanan</h2>
    <h3>Priyada Mohanan</h3>
    <h4>Priyada Mohanan</h4>
    <h5>Priyada Mohanan</h5>
    <h6>Priyada Mohanan</h6>
        <h1 align="right">Priyada Mohanan</h3>
<h2 align="center">Priyada Mohanan</h1>
<h3 align="left">Priyada Mohanan</h2>
     
</body>
</html>

OUTPUT : 



Note : 
<h1> to <h6> is used to give heading.
<h1> is the biggest heading , and <h6> is the smallest one.
Note that , We can use alignment option (left,right,centre etc) with the heading tags.

Back to HTML  

PREVIOUS CHAPTER                 NEXT CHAPTER

No comments: