Saturday, October 15, 2011

HTML Tutorial Part - 4 ( Heading and paragraph )


By on Saturday, October 15, 2011


HTML Heading

Web pages Heading defined with <h1> to <h6> tags.If you want to write any heading types content, you will use following tags in your web pages .

HTML Bangla Video Tutorial


For example :


<!--heading_1.html-->
<html>
<head>
  <title>HTML Heading:</title>
</head>
<body>

<h1> Header one..</h1>
<h2 align="center"> Header two..</h2>
<h3 align="right"> Header three..</h3>
<h4 align="justify"> Header four..</h4>
<h5> Header five..</h5>
<h6> Header six..</h6>

</body>
</html>



Above Examples output will be shown as bellow -


Header one..

Header two..

Header three..

Header four..

Header five..
Header six..



HTML paragraph

Web pages paragraph defined with <p> tags . If you will write any paragraph type content in your web pages, you will use this p elements.

For example :
<!--heading_2.html-->
<html>
<head>
  <title>HTML Paragraph:</title>
</head>
<body>

<p> Welcome to the web development tutorial. HTML is a markup language for creating a web pages. HTML stands for Hypertext markup language.</p>

</body>
</html>


Above Examples output will be shown as bellow -

Welcome to the web development tutorial. HTML is a markup language for creating a web pages. HTML stands for Hypertext markup language.

HTML page break

Web pages page Break defined with <br/> tags

For example :

<!--paragraph_3.html-->
<html>
<head>
  <title>HTML page break:</title>
</head>
<body>

<p> This is a <br />paragraph..</p>
<p> Above line break for &lt;br /> tags</p>

</body>
</html>


Above Examples output will be shown as bellow -

This is a
paragraph..

Above line break for <br /> tags

HTML Horizontal Rule

Web pages Horizontal Rule defined with <hr/> tags

For example :


<!--paragraph_3.html-->
<html>
<head>
  <title>HTML Horizontal Rule:</title>
</head>
<body>

<h1> Bellow line is show for <hr /> tags</h1><hr/>

<h3 align="right"> Header three..</h3><hr/>
<h4 align="justify"> Above line is show for &lt;hr /> tags</h4>
<h5> Header five..</h5>
<h6> Header six..</h6>
<hr/>
<p> Above line is show for &lt;hr /> tags</p><br/>

</body>
</html>


Above Examples output will be shown as bellow -

Bellow line is show for <hr /> tags



Header three..


Above line is show for <hr /> tags

Header five..
Header six..

Above line is show for <hr /> tags


1 comments: