HTML Paragraph tag in html div tag in html head> tag in html hr> tag in html nav tag in html ,introduction to html5 and css.learn html and css.
Introduction
to HTML 5part-5
Heading
levels in html
HTML provides six levels of heading tags
.The range is from 1 to 6.This heading levels are expressed as <h1>the
text</h1>..The <h1> tag is displays text in bold and with largest
heading level whereas <h6>tag displays text in smallest heading level.
All the heading levels have
attribute align with values left
right and center.
Programe:2
The
following programe displays the level of
heading tags .vie code.
<!doctype html
<Html>
<Head>
<Title >Heading
levels</title>
</head>
<body
bgcolor=violet>
<h1>heading level
1. This is the largest in size</h1>
<h2>heading level
2</h2>
<h3>heading level
3</h3>
<h4>heading level
4</h4>
<h5>heading level
5</h5>
<h6>heading level
6. this is the smallest in size</h6>
</body>
</html>
Output:-

Comments