HTML Headings
Headings are very important tag in the html document .It is used to display different types of heading.The opening tag for a heading is <hn> and the closing tag is </hn> where n is the size of headingand its value from 1 to 6.The value 1 represents the largest size of heading and the value 6
represents the smallest size of headings.
Attributes:
Align:It specifies the alignment of the headings.
The possible values are left,right and center. The default value is left.
Example
<h1 align="center" >Hello</h1>
Next Example
<html>
<head>
<title
Minds Mania
</title>
</head>
<body>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
</body>
</html>
0 Comments