|
|
Q2002 Why don't spaces, tabs and line breaks appear where I put them?
irt.org | Knowledge Base | HTML | Q2002 [ previous next ] Q2002 Why don't spaces, tabs and line breaks appear where I put them?Web browsers use html tags to format text. They place spaces, carriage returns and tabs wherever they think is most appropriate. You can force a line break with the tag <br>. The <p> tag formats the preceding text as a paragraph. This usually also adds a blank line after the paragraph. Notice that there is no </p> or </br> tag. You can also force a block of text to appear exactly as you typed it by surrounding the text with <pre> and </pre>, which stands for preformatted. Feedback on 'Q2002 Why don't spaces, tabs and line breaks appear where I put them?' |
-- div -->
|