Q3. List the different ways in which a paragraph can be aligned.
Ans. There are three types of alignments, namely left, right and center. You need to use the appropriate alignment attribute with the <P> tag to align the paragraph text.
The code given below shows the use of the align attribute of the <P> tag:
<TITLE> WELCOME TO HTML</TITLE>
<P align=center> HTML stands for Hyper Text Markup language. </P>
<P align=right> The purpose of HTML is to display content in a Web browser. </P>