<P> HTML paragraph tagWe can create paragraphs in html by using paragraph tags. This html tag is used to create gaps between lines of texts.
However we can create line breaks by using line break tags. Here we will use paragraph tags.
Here is one example of using HTML paragraph tag.
<P> Paragraph starts from here and ends at here </P>We can skip the end paragraph tag and start a new paragraph like this.
<P>This is paragraph number one and we are not using any end tag here <P> The second paragraph starts here without any end paragraph tag</P>The output of above code is here
This is paragraph number one and we are not using any end tag here
The second paragraph starts here without any end paragraph tag
We can add style to our paragraph html tag. Here it is
This is before the paragraph <p align=center>This is a text only</p> This is after the paragraphNow here is the output of above code
This is before the paragraph
This is a text onlyThis is after the paragraph Like this we can add other parameters to this paragraph style.
Be the first to post comment on this article :