Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.