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

Thursday, September 5, 2013

H3 - To give Alignments to paragraph

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>Aligning Paragraph</title>
</head>
<body>
<p align="left">This is left aligning</P>
<p align="right">This is right aligning</P>
<p align="center">This is centre aligning</P>
</body>
</html>

OUTPUT : 
Note : 
To align paragraph , use <p> followed by the alignment option.
That is <p align="left"
Back to HTML  

PREVIOUS CHAPTER                 NEXT CHAPTER

H2 -How to set Paragraph 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>Implementing Paragraph</title>
</head>
<body>
<p>1st paragraph</P>
<p>2nd paragraph</P>
<p>3rd paragraph</P>
</body>
</html>

Output : 
======================
Note : 
To implement paragraph , use <p>
Back to HTML  

PREVIOUS CHAPTER              NEXT CHAPTER