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

Showing posts with label HTMT-paragraph. Show all posts
Showing posts with label HTMT-paragraph. Show all posts

Monday, September 9, 2013

H5 - SPACE between text

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>My web page</title>
</head>
<body>
   <pre>
      Priyada Mohanan
      Ernakulam,Cochin
      Kerala
      India
   </pre>
</body>
</html>

OUTPUT : 



Note : 
<br> is used to start a new line.
Here instead of <br> , we add <pre>.
While using <pre> , no need to use <br> in each line.(Check previous example also.)

Back to HTML  


H4 - Address in a web page

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>My web page</title>
</head>
<body>
<br>Priyada Mohanan</br>
<br>Ernakulam,Cochin</br>
<br>Kerala</br>
<br>India</br>
</body>
</html>

OUTPUT : 


Note : <br> is used to start a new line.It is an EMPTY(STAND ALONE) tag.
That is <br> has no closing tag(check introduction)
Check the difference in output, of this and next example.

Back to HTML  


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