|
|
|
|
Putting text on your pageWeb pages are excellent ways to provide information to thousands of people. The first question you need to ask yourself is "What information do I want to provide?" Your answer to this question will determine the layout of your page. If your answer is "just textual information on a certain topic" then your quest will be fairly simple. Other text may require a little more work.
Plain Text
For this reason, you don't have to worry about putting breaks at the end of your straight text. When you type your text in Notepad, you will have to press ENTER at the end of each line. Netscape will ignore these breaks and size the text accordingly. Bring up your Notepad file and type in some text you want on your page. For example, you might want to write a paragraph or so about yourself, your classes, or programs your department offers.
<BR> and <P>, Them's the Breaks!This automatic wrapping of text does have its drawbacks. If you were to type your text into Notepad as
because you wanted each item to appear on a separate line, it wouldn't work. Netscape would display the information as Information Item 1Information Item 2Information Item 3 This brings us to the codes for plain text, <BR> and <P>. Neither of these codes need a closing code.
Use this code for single space breaks. For example, if you wanted the above example to look like
Information Item 1 you would put a <BR> at the end of each line. Thus a sample Notepad file would look like the following:
<P> In the above example, <BR> was used twice in a row in two cases. We did that to create a double space. If you remember, I said <BR> was for single spacing lines. To avoid using a bunch of <BR>'s for double spacing, you can use <P> instead. The HTML code <P> will automatically place a return at the end of a line and add a blank line. In effect, <P> will double space your lines for you. We could have used <P> instead of <BR><BR> after the Sunday hours to obtain the same effect. Try inserting <BR>'s and <P>'s into your own Notepad file.
<B>some text</B> where "some text" would be bold on your page. <I>some text</I> where "some text" would be in italics on your page. <U>some text</U> where "some text" would be underlined on your page. Simple right? You might add some to your own Notepad file. A word about underlining text. In typography this has been discouraged because the underline goes through descenders such as g, j, p, and q. It has been more acceptable to use italics in place of underlining. However, in graphic based browsers underlining regular text is even more discouraged. If you have noticed, most browsers underline links. If you underline regular text, there is a chance that someone may confuse that text as a link. In general, stay away from underlining and stick with italics and bold.
<CENTER>some text</CENTER> where "some text" would appear centered on the page. You can center more than just one line however. If you wanted your entire document centered for some reason, you could put <CENTER> right after your <BODY> code and </CENTER> right before your </BODY> code. Many people like to center their first header. To do this, you would simply have <CENTER><H1>My Title</H1></CENTER> Don't forget the end center code or strange things sometimes happen to your document. Another note. Be sure to include the ending bracket on every ending code. Without these brackets, the browser gets confused and again, strange things sometimes happen.
| ||
|
Page maintained by Julie A. Duncan, ITS Cameron University, Lawton Oklahoma |