Distinguish between

and
tag. question and answer !


Question 

Distinguish between <P> and <BR>

Answer

<P> tag is a container element which marks a block of text as a paragraph in a web page and the web browser  leaves a line betwee two paragraphs. This tag has an attribute ALIGN, which can take any three values - Left, Right and center. E.g.,  <P ALIGN = "right"> <B> "an ounce of practice i worth more than tons of preaching." Fardin alam </B> </P>

<BR> tag is an empty element that is used to break a line and display the proceeding text from the next line, without giving any space between the two lines. It has no attributes.

No comments