BASIC HTML PART TWO

Part 2

      Now we can start changing the way your page looks . It would be darn boring and hard to read without some formatting - just the same old text all through the page with no headlines, line breaks or paragraph breaks etc. Later we'll learn how to put in pictures and other neat stuff.

HEADLINES

      Let's start by putting in some Headlines We can make them any size from BIG
      To very small

      They will all be in BOLD The Biggest Headline is <H1> and the smallest that we use is <H6> THE HEADLINE AT THE TOP OF THIS PAGE USES <H1> The HEADLINE Part 2 uses <H2> and we are using <H3> for smaller subheadings. REMEMBER TO CLOSE THIS TAG ! </H1> </H2>or </H3>etc.

PARAGRAPHS

      I just started a new paragraph with the <P> command. When I use the <P> command it leaves a blank line between paragraphs and I must remember to close it with the </P> command.

LINE BREAKS

      If I use a <BR> it just puts in a Line Break ( like a carriage return when your typing ) and starts on the next line like this.
Simple stuff hey ! Now I'll end the paragraph with the </P> command.

CENTERING TEXT

      There are several ways of centering text but for the purpose of this basic lesson we will only use one - and that one is the simple CENTER command.
<CENTER> Your Text </CENTER>

HORIZONTAL RULE

      At the end of this section I am going to put a shadowed line across the page - HTML calls it a horizontal rule and the command is <HR>


SUMMARY

  1. <H1> to <H5> - Headline tags ( Remember to Close the tags </H1> Headline tags must be closed )
  2. <P> = paragraph tag leaves one line before the next paragraph. Must be closed </P> and can be modified ( later lesson )
  3. <BR> = Break tag, acts like a carriage return.Moves following text to the next line. Does not need to be closed.
  4. <CENTER> = Center tag ( Remember to close this tag ) </CENTER> This tag is deprecated by the World Wide Web Consortium but still works on all of todays browsers - later we will show other ways of centering text, images etc.
  5. <HR> = Horizontal Rule, Makes a thick shadowed line across the page. Does not need to be closed. It can be modified ( later lesson )
      OK now write some more stuff between the BODY /BODY tags and format it using all of the four tags you have just learned. Save it again and check it with your browser.

      Looks OK? Good ! Now you can pat yourself on the back and then go to Part 3 of this tutorial. If not recheck making sure that all your tags are correct and that the ones you opened and need closing are closed.
Go to Part 3