Whitespace in HTML Documents1. Examine the HTML Document below then follow this link to see what the document looks like in a browser.
2. Displaying White Space in your document. View this document in a browser. So what do you do when you want the browser to display all spaces, tabs and white space in your document? Use the <PRE> </PRE> preformatted text tags. Your text will be presented in a monospaced font such as Courier.
3. In displaying your html page, browsers ignor whitespace, that is tabs, more than one blank space or a return character entered by a text editor. Use the <PRE> tags or these special tags for spacing in your HTML documents:
|
||
| Last updated on 01/02/2004 by L.M. Hicks |