Paragraph Tag

Paragraph Tag:-
The <p> tag is used for inserting a block of text in your page by creating a paragraph. It is a paired tag (i.e. <p>paragraph here</p>).

Syntax:

<p ALIGN="left | center | right | Justify"> text here</p>

Example:-

<html>
<head>
<title>Index | HTML Comment </title>

<head>
<body bgcolor="lightblue" text="black">
<!-- pragraph tag-->
<p>This program is free software; you can 
redistribute it and/or modify it under the 
terms of the GNU General Public License as 
published by the Free Software Foundation; 
either version 2 of the License, or (at your 
option) any later version.
</p>
<!-- here i have missed the p tag or paragraph tag-->
This program is distributed in the hope that it
will be useful, but WITHOUT ANY WARRANTY; 
without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.  See the GNU General Public License 
for more details. 
<!-- here i have keept two paragraph in one p tag-->
<p>
This program is free software; you can 
redistribute it and/or modify it under the 
terms of the GNU General Public License as 
published by the Free Software Foundation; 
either version 2 of the License, or (at your 
option) any later version.
<!-- here i have give enter in the eidtor but it doesnt 
appere in the html page in the oputpur-->

This program is distributed in the hope that it
will be useful, but WITHOUT ANY WARRANTY; 
without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.  See the GNU General Public License 
for more details. </p>

<body>


</html>

Check output with code :-


To download the HTML File:- ClickHere


Comments

Popular posts from this blog

Body tag < body > < / body>

Heading Tag ( h1 to h6)