In this tutorial we will accomplish one thing, formatting our pages. Formatting your pages is very important because you don't want your pages looking like one large block of text. Well I have some bad news, you can format everything in your text editor nice and pretty, but when you look at it in a browser, all formatting is lost.
Why is that you ask? I'll tell you. HTML. You need to format using HTML to get any desired result.
In this lesson, I'm going to teach you how to format your pages.
Remember, type anything in typewriter text in your text editor.
For this lesson, I want you to open your document from last lesson, we'll work with it in this one. Don't type in anything in the blue box into you HTML document. Just teletype.
<HTML>
<HEAD>
<TITLE>Type any title you want></TITLE>
</HEAD>
<BODY>
Some TextOK, now we are going to make some adjustments.
We are going to type more text, and use
HTML to format the page. Type everything
thats in yellow to the left in the correct
place in your HTML document. As always, I
will explain each new tag below our work.<BR>This will be on a seperate line.
<P>This will be 2 lines down from the above line.
<BR><CENTER>This will be centered.</CENTER></BODY>
</HTML>Good! Now click on "file", "save". Open the document in your browser and it should look like this. If it does, you did it right. If it doesn't look like my example, go back and check your work.0
Now as promised I am going to explain each new tag. In order thuat they appear in the above document.
<BR>
This tag is used to insert a line break that basically means it will start anything after it on a new line. It has no ending tag.<P>
This is just two line breaks. It skips a line than starts on the next. It does have a ending tag :</P> but I rarely use it. It is not important.<CENTER> and its ending tag </CENTER
This tag is used to center things on a page. You can center text, pictures, tables, links, and other things with this tag. Anything after the opening tag is centered. Anything after the ending tag is automatically aligned left.Thats the end of this lesson. Keep watching my home page for the next lesson coming soon.
If you have any problems, questions, or comments about this lesson, please use the form below to leave me feedback. Or just answer the below question and send it.