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