2c-i. ParagraphsInstead of specifying two <br> tags every time you want to start a new paragraph, you can just use the paragraph tag. This just looks like this: <p>. Paragraphs are cool in that they can take parameters, special extra instructions that make the command more specific. If you want to center your text, you have two options. You can either use the <center> tags as described above, or you can make a new paragraph and specify the alignment: <p align=center> If you wanted to make it right-aligned, just change "center" above to "right". By default, if you don't specify any alignment, the paragraph tag defaults to left-aligned. You can also justify paragraphs, by which I do not mean defend their existence, but rather align it both left and right at the same time.
Note that justification doesn't work on all browsers. tutorial |