|
HOME articles tutorials tool directory about |
|
||
|
|
Commonly Used Text TagsThe primary method used to convey information on most Web pages is text. There are several simple ways you can control the display format of text.
Paragraphs and Line Breaks
The <P> tag causes the browser to skip a line before outputting the text, with the result that paragraphs are separated by blank space. It has one attribute: align, which can be set to left, right, or center. If you don't specify an alignment, the paragraph will align left. Here's a sample of the <P> tag in action:
To cause a line break - like pressing ENTER in a word processor - you have to use a <BR> tag. Simply breaking text onto multiple lines like this:
You don't actually have to put the lines on separate lines; they can be on the same line with the <BR> between them, and the effect is the same. |
|
|
|
HOME articles tutorials tool directory about (c) copyright 2000-2010 Anventure. All
Rights Reserved.
|
|||